aekpong Level: Whizz Kid
 Registered: 27-12-2005 Posts: 14
|
Check internet connection (modem) in Win9x
I have trouble with check internet connection(modem). my project use this function "internetdial"
Public Declare Function InternetDial Lib "wininet.dll" (ByVal hwndParent As Long, ByVal lpszConiID As String, ByVal dwFlags As Long, ByRef hCon As Long, ByVal dwReserved As Long) As Long
Retval = InternetDial(Me.hwnd, List1.Text, DIAL_FORCE_UNATTENDED, hCon, 0&)
'and when internet connection connected(retval=0) on winXP it work.
same function not work in Win9x. function return "0" Alway. although no dial modem at this time
How to check?
Thanks ....
____________________________
TK
|