D
Dray
Hi,
I've got a page which displays IP and connection details for
customers' servers (for our support personnel) and I'd like to have a
button which creates a remote desktop connection to whatever server is
selected. I've got this code but all it does is create rdp access on
our web server rather than the user's machine...
Dim varIP As String
Dim varConnStr As String
Dim CHFLoc As String
Dim retval As Object
varIP = RemoteIPtxt.Text
If ConsoleChk.Checked = True Then
varConnStr = "C:\Windows\system32\mstsc.exe /CONSOLE /f /v:" &
varIP
Else
varConnStr = "C:\Windows\system32\ /f /v:" & varIP
End If
retval = Shell(varConnStr, vbMaximizedFocus)
I've got a page which displays IP and connection details for
customers' servers (for our support personnel) and I'd like to have a
button which creates a remote desktop connection to whatever server is
selected. I've got this code but all it does is create rdp access on
our web server rather than the user's machine...
Dim varIP As String
Dim varConnStr As String
Dim CHFLoc As String
Dim retval As Object
varIP = RemoteIPtxt.Text
If ConsoleChk.Checked = True Then
varConnStr = "C:\Windows\system32\mstsc.exe /CONSOLE /f /v:" &
varIP
Else
varConnStr = "C:\Windows\system32\ /f /v:" & varIP
End If
retval = Shell(varConnStr, vbMaximizedFocus)