Meanwhile i found more options as to how to run an exe from my form .....
That is , there is WinExec, CreateProcess and Process::Start that all can run an exe from my application.
Can anyone tell me the best way or which one of the above is the best.....
I would like to run the exe in the background, without interfering with the form of the application. The background process creates a file that would be used by the windows application.
Personally, I'd use Process:Start to make the code as managed as possible.
One of it's implementations uses the ProcessStartInfo structure, which has
various interesting properties such as CreateNoWindow that'd satisfy your
goals.
Emmanouel said:
Thanks michiel for the reply,
Meanwhile i found more options as to how to run an exe from my form .....
That is , there is WinExec, CreateProcess and Process::Start that all can
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.