We have this utility that allows you to take control of another user's machine. I want to automate that process to eliminate steps.
How do I call that program?
As is, I have to open a command window, change drives, change directories and then type in the executable name with the name of the target machine provided as a variable. This is the code I tried to automate, but it hangs on the "Shell...." line. Surprise, I knew it would. Any suggestions?
Thank you!
How do I call that program?
As is, I have to open a command window, change drives, change directories and then type in the executable name with the name of the target machine provided as a variable. This is the code I tried to automate, but it hangs on the "Shell...." line. Surprise, I knew it would. Any suggestions?
Code:
Sub Remote()
Dim machine As String
ChDir "C:\VNC"
machine = InputBox("What is the machine name?")
Shell "vnc " & machine
End Sub
Thank you!