I am using:
dddd2 = ShellExecute(Me.hwnd, "", sfile2, sCommand, sWorkDir, whoto)
I need to know what is the application instance number so I con close it. On what variable do I get this instance number?
It is not dddd2.....
Help
THanks
Printable View
I am using:
dddd2 = ShellExecute(Me.hwnd, "", sfile2, sCommand, sWorkDir, whoto)
I need to know what is the application instance number so I con close it. On what variable do I get this instance number?
It is not dddd2.....
Help
THanks
Get the API viewer and guide from allapi.net. They will tell you what you need to know.
Use ShellExecuteEx or CreateProcess. They will give you the handle to the process you run.
Hope this will help you