thankgodfortektips
Programmer
Hi All,
I have a VB.exe that I want to give to my clients to help them dial a VPN... I have made the exe and from my machine it works great. However, once I move it to another machine it stops working. The VB.exe will load but when I try and run the following code, nothing happens...
********************
Dim oWsh
Set oWsh = CreateObject("WScript.Shell")
oWsh.Run "rasdial officevpn " & Me.txtUsername & " " & Me.txtPassword, 0, True
********************
Is there something that I need to include in the .exe?
Thank in advance...
I have a VB.exe that I want to give to my clients to help them dial a VPN... I have made the exe and from my machine it works great. However, once I move it to another machine it stops working. The VB.exe will load but when I try and run the following code, nothing happens...
********************
Dim oWsh
Set oWsh = CreateObject("WScript.Shell")
oWsh.Run "rasdial officevpn " & Me.txtUsername & " " & Me.txtPassword, 0, True
********************
Is there something that I need to include in the .exe?
Thank in advance...