I Want to Know Status the and Error Message While I am using DialUp Network. I am using the following code for Dialup Network. Here I want to know
(1) How can i know the Status of the connection
(2) Need to handle any error during connection
Code is given below
Private Sub Command1_Click()
DialUp = "My Connection"
DialUp = Shell("rundll32.exe rnaui.dll,RnaDial " & DialUp, 1)
Private Sub Timer1_Timer()
Here I want to know the Status and Error for Every 10 Sec
-- I want to Know the Status of the Dialup Network for Every 10 Seconds by Timer Control. But the above code doesn't give any error msg while No Dial tone and disconnected.
Exactly i need to check the Status like Dialing, No Dialtone, Disconnected etc for Every 10 Sec.