Connecting to the Internet

10-14-2001, 01:43 PM
Does anyone know how to check if there is an internet connection open in a vb application, and how to open one if it is not already open???

10-14-2001, 01:46 PM
This thread might help you.... (


You could try this tutorial (

10-14-2001, 01:53 PM

I'm sure this stuff will help.

10-14-2001, 04:28 PM
I'm not sure about detecting a dialup (regular phone line) connection, but I do know how to MAKE one....

Attatched is a zip which contains a module. Add that to your standard project and call the sub DialUp, with the parameters you need:

ISP - name of ISP - eg "BT Internet"
Username - your ISP username - eg ""
Password - your ISP password - eg "hellodad"
PhoneNo - the number of the ISP dialup - eg "01234 567 890"

You call it with these parameters/arguments, and it returns a boolean (true/false) value..

EDIT --> I didnt write this all myself, infact only the DialUp function that encapsulates everything is mine. I forget where I got the original code from.....

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum