PDA

Click to See Complete Forum and Search --> : check if connected to internet


funkheads
Dec 12th, 1999, 02:39 AM
via API, what's the simplest way to see if my computer is connected to the internet?

thanks

--michael

Mark Sreeves
Dec 12th, 1999, 03:02 PM
this might help: http://www.vb-world.net/tips/tip27.html



------------------
Mark Sreeves
Analyst Programmer

Mark.Sreeves@Softlab.co.uk
A BMW Group Company

funkheads
Dec 12th, 1999, 03:17 PM
yes i looked at this example before i posted this topic. it doesn't work. i want to know how to tell if you are connected by using the API function:

InternetGetConnectedStateEx

i know this API function exists, but i have no idea how to use it. does anyone have any suggestions? can anyone help me out?

--michael

ps - i just want to thank everyone who has posted replies to my questions. this BB has gotten me out of a lot of jams. thank you all who have contributed. it is much more appreciated than you know. :-)

funkheads
Dec 12th, 1999, 03:34 PM
basically what i want to do is if the user's computer is connected to the internet (in any way: via modem, LAN, etc...) i want to enable a button in my prog. thanks for any help.

--michael

Mark Sreeves
Dec 12th, 1999, 03:55 PM
This might help:
http://www.vb-world.net/ubb/Forum1/HTML/008815.html

------------------
Mark Sreeves
Analyst Programmer

Mark.Sreeves@Softlab.co.uk
A BMW Group Company


[This message has been edited by Mark Sreeves (edited 12-13-1999).]