if lpszUrl is null and the flag is false can this be used to see if there
is any connection at all ??
Excuse for butting in!
"Sadha Sivam S" <sadhasiavm1981> wrote in message
news:C4**********************************@microsof t.com...
Hi Adam,
Check with this api,
'API method to check for the internet connection
Public Declare Function InternetCheckConnection Lib "wininet.dll" Alias
"InternetCheckConnectionA" (ByVal lpszUrl As String, ByVal dwFlags As
Integer, ByVal dwReserved As Integer) As Integer Public Const FLAG_ICC_FORCE_CONNECTION As Short = &H1S
Where it takes the URL you want to check.
Sadha Sivam S
Malleable Minds Software Pvt Ltd.,