Connecting to the Internet

CodeDemon
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???

orufet
10-14-2001, 01:46 PM
This thread might help you.... (http://www.visualbasicforum.com/bbs/showflat.php?Cat=&Board=visbas&Number=22840&page=&view=&sb=&o=&vc=1)

OR

You could try this tutorial (http://www.vb-world.net/internet/tip467.html)

CodeDemon
10-14-2001, 01:53 PM
Thanks!

I'm sure this stuff will help.

Squirm
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 "john@isp.com"
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