|
-
August 8th, 2011, 07:49 PM
#3
Re: Problem while calling .exe file from VS2008
Hi GremlinSA,
Thanks for your answer.
Finally, i have solved my issue asking to many people in several forums.
The problem was that by default, the working directory for the new process will be the same as the first app. If the new app assumes that its own program folder is the working directory then it will fail to find one or more files.
Here is my final code, it works well. I hope it can help anybody !
Dim callExe As New ProcessStartInfo
callExe.WorkingDirectory = "C:\Documents and Settings\Tobii\Desktop\Outputs Eye-tracking"
callExe.FileName = "FixationFiltering.exe"
Process.Start(callExe)
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
|