
How to detect (by EXE name) if a non-shelled process is running (32-bit)
Thanks Greg. Is there anyway to do this within VB (rather than C, which the
language the KB article uses). Or is there an API call to get the EXE name
if the hWnd is known?
Quote:
>check out :
>http://support.microsoft.com/support/kb/articles/Q175/0/30.asp
>>I'm looking for a way to detect if a non-shelled application is running,
>and
>>if so, give focus to it. In the 16-bit world I used GetModuleHandle
>>("notepad.exe"), which doesn't work in 32-bit. I won't know what the
window
>>caption/title will be, only the EXE name. Any help would be *greatly*
>>appreciated.