|
-
July 9th, 2005, 06:55 AM
#5
Re: Opening an .exe file
I am unable to start another exe by implementing both of above specified methods. I get the error of 'File nt Found' though the specified exe is present in directory C:\. I am unable to handle this exception though these methods work very fine if the specified file is 'CALC.EXE' or 'CMD.EXE' but the same code does not work if the specified file is any other executable e.g. "C:\TCPServer.exe", i get the following error, plzzzz help !
Unhandled Exception: System.IO.FileNotFoundException: File not found.
at Microsoft.VisualBasic.Interaction.Shell(String Pathname, AppWinStyle Style , Boolean Wait, Int32 Timeout) at newProcess.Module1.Main() in :\Documents and Settings\Tess\My Documents\Visual Studio Projects\newProcess\Module1.vb:line 10
Press any key to continue
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|