CoachBarker
Well-known member
- Joined
- Jul 26, 2007
- Messages
- 133
- Programming Experience
- 1-3
When I run this fiunction:
The Connection Manager opens, then the VPN Login Form opens and after the user has logged in and made a connection my form opens. But if I try to do this:
The Login form for the VPN opens, I get an error message saying Wait For Exit is not set to an instance of an object, and my form opens on top of the Login form.
Any Ideas
CoachBarker
VB.NET:
Dim prc As New Process
prc = Process.Start("rasphone.exe")
prc.WaitForExit()
The Connection Manager opens, then the VPN Login Form opens and after the user has logged in and made a connection my form opens. But if I try to do this:
VB.NET:
Dim prc As New Process
prc = Process.Start("C:\Documents and Settings\All Users\Desktop\Shortcut to Syracuse University VPN.lnk")
prc.WaitForExit()
The Login form for the VPN opens, I get an error message saying Wait For Exit is not set to an instance of an object, and my form opens on top of the Login form.
Any Ideas
CoachBarker