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