
Error in Creating a Dial-Up Connection in Visual Basic - Help Needed
I have this code in an app, but it isn't working very well :
Private Sub CreateConn()
On Error Resume Next
Dim res
res = Shell("rundll32.exe rnaui.dll,Remote_Crea{*filter*}try " & "Bancared", 1)
DoEvents
SendKeys "Bancared", True
SendKeys "{enter}", True
SendKeys "502", True
SendKeys "{tab}", True
SendKeys "3620051", True
SendKeys "{tab}", True
SendKeys "Guatemala", True
SendKeys "{enter}", True
SendKeys "{enter}", True
End Sub
Anyone have example source code, or any guide to create a Dial-Up Connection
in Visual Basic ??
Thanks for any help and my best regards,
Jose Maria Bustamante Zamora