Question Locked

vb.net error when launching exe

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am trying to run a Setup.exe file from within VB.net 2008. I have used the code below and get the error message: "Windows cannot find REBOOT=ReallySupprress..." then a second error comes up: "Could not execute external program. REBOOT=ReallySuppress". I've even tried using Shell with the same error. Can anyone tell me why this is happening and what I can do to run this executable?

Code:
System.Diagnostics.Process.Start("C:\Documents and Settings\User\Desktop\Setup.exe")

--Tony--

4 replies

by diecidue

Thanks Tony... The error was triggered from the Setup.exe and not VB.net. Turns out the setup was in a different folder than the VB application and that was causing it to throw the error.

This discussion is closed to new replies.