Error Handling in Dialup Network

I know that How to Run Dialup Network
by using Shell
Shell("rundll32.exe rnaui.dll,RnaDial " _
    & strConnectionName, 1)

But I want to Know the following
1) How could i handle Error in case of any problem(No DialTone, Network Error etc) during dialing ?
2) How Can i check whether dialup was connected or not ?

Thank U
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

cantrellConnect With a Mentor Commented:
I assume you want to delete this question, since you seemed to have duplicated it, and wouldn't want to give out points twice...
All Courses

From novice to tech pro — start learning today.