PDA

Click to See Complete Forum and Search --> : Detecting Internet Connection


Feb 7th, 2000, 05:23 PM
How can I check if there is an active internet connection? It needs to work on a LAN going through a proxy server...

I've tried
http://www.vb-world.net/tips/tip27.html

Which doesn't work, but one of the replies mentioned using


Private Declare Function InternetGetConnectedStateEx Lib "wininet.dll" Alias "InternetGetConnectedStateExA" (ByRef lpdwFlags As Long, ByVal lpszConnectionName As String, ByVal dwNameLen As Long, ByVal dwReserved As Long) As Long


but I have no idea what values to provide for all the arguments this function requires...

Help!!

------------------
Matthew Ralston
E-Mail: matthew@ralston.net
ICQ: 31422892
Web Site: My Home Page (http://www.matthew.ralston.net)
AKA: ...::: The Fragmeinster :::... (On Quake 3 World Forums (http://www.quake3world.com/forums/))

Sorry about my English, but my Scouse is dead good!