Run another exe and it's command?
How can I create another program from the primary/main program.
Like press a button and write/export an already compiled exe stored in a resource file or something. Or some other way of doing it.
Then run that .exe and use it's commands?
Like use the first program to tell the second program to pop up a message box?
:ehh:
Re: Run another exe and it's command?
Re: Run another exe and it's command?
Check the ShellExecute API function. This API can be used to run another exe with various options.
Pradeep :)
Re: Run another exe and it's command?
Thanks. I think that's what I need.
How do I use the ShellExecute API? All I found was how to run a webbrowser (mostly).
How do I use ShellExecute with a program that I've made?
Like do what's in Command1_Click()?
And would that execute the program each time I do it?
I only want to run it once, then command/use it.