M
Microsoft
I'm working on you first asp.net project and its just a conversion of an
existing vb.net project I have.
I am trying to have the user push a button and execute a program from a
share on the network.
I get "the system cannot find the file specified", but the file is there and
works fine from a gui..
Here is the sun that is not working
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim CompName
Dim program As New Process
program.StartInfo.FileName = "\\sms13\remote$\remote.exe"
program.StartInfo.Arguments = " 2 " & " \\" & CompName & "\"
program.Start()
Thanks for any help!
existing vb.net project I have.
I am trying to have the user push a button and execute a program from a
share on the network.
I get "the system cannot find the file specified", but the file is there and
works fine from a gui..
Here is the sun that is not working
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim CompName
Dim program As New Process
program.StartInfo.FileName = "\\sms13\remote$\remote.exe"
program.StartInfo.Arguments = " 2 " & " \\" & CompName & "\"
program.Start()
Thanks for any help!