derek7467
asked on
vb.net and launching an app from the cmd line
attempting to load a program from command line and keep getting "cannot find file specified".
If i load the below from cmd line it works fine but not when i try in vb.
When i do the below, i get the error:
If i load the below from cmd line it works fine but not when i try in vb.
C:\Windows\SysWOW64\CCM\VAppLauncher.exe /launch "Avaya CMS Supervisor R16 -- English 16.1.0.0 R2"
When i do the below, i get the error:
Dim process1 As New Process
process1.StartInfo.FileName = "VAppLauncher.exe"
process1.StartInfo.WorkingDirectory = "C:\\Windows\\SysWOW64\\CCM"
process1.StartInfo.Arguments = (" /launch Avaya CMS Supervisor R16 -- English 16.1.0.0 R2")
process1.Start()
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
doesnt work, now i get "cannot start application", but if i run that same code from a cmd line, it works.
>>doesnt work, now i get "cannot start application"
Actually that sounds like one or more comments solved your original problem. Now you have a rather different one.
Actually that sounds like one or more comments solved your original problem. Now you have a rather different one.
Open in new window
Just in case put the that this no work add the location of the program on the first part of the code likeOpen in new window