How to detect (by EXE name) if a non-shelled process is running (32-bit) 
Author Message
 How to detect (by EXE name) if a non-shelled process is running (32-bit)

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.


Sun, 04 Mar 2001 03:00:00 GMT  
 How to detect (by EXE name) if a non-shelled process is running (32-bit)
check out :
http://support.microsoft.com/support/kb/articles/Q175/0/30.asp

Quote:

>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.



Sun, 04 Mar 2001 03:00:00 GMT  
 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.



Mon, 05 Mar 2001 03:00:00 GMT  
 How to detect (by EXE name) if a non-shelled process is running (32-bit)
I found my answer - it's in
http://support.microsoft.com/support/kb/articles/q187/9/13.asp


Quote:
>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?


>>check out :
>>http://support.microsoft.com/support/kb/articles/Q175/0/30.asp



Mon, 05 Mar 2001 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. How to detect (by EXE name) if a non-shelled process is running (32-bit)

2. Waiting for a shell process to finish in 32 bit environment

3. How a 32-Bit App Can Determine When a Shelled Process Ends, Article ID: Q129796

4. How to Determine When a Shelled 32-bit Process Has Terminated

5. How a 32-Bit App Can Determine When a Shelled Process Ends

6. How a 32-Bit APP can Determine When a Shelled Process Ends - Q129796

7. Help: How a 32-Bit app can determine when a shelled process ends

8. Shell run 32-bit app in Win3.1?

9. Using API to detect if launched app is still running (VB4 32-bit)

10. Setup.exe for my application only runs once on 32-bit

11. Shell and Wait 16 bit apps from 32 bit VB 4.0

12. Make a 16 bit .exe from a 32 bit PC

 

 
Powered by phpBB® Forum Software