Is there a comand or a combination of commands that would allow me to determine if a program is open on a users machine.
Cheers,
Chris
Sniff for Open Programs
5 posts
Chris,
you should know he window name (e.g. Notepad) and/or it's class. Then use FindWindow to verify if the window is open. Use SendMessage to close the window if necessary.
You can detect name and/or class using some Spy tool (e.g. Spy++ of VC++).
Good luck, greetz,
Hendri.
you should know he window name (e.g. Notepad) and/or it's class. Then use FindWindow to verify if the window is open. Use SendMessage to close the window if necessary.
You can detect name and/or class using some Spy tool (e.g. Spy++ of VC++).
Good luck, greetz,
Hendri.
is there a way other than FindWindow name/class ?
can i find a running file "msmsgs.exe" and SendMessage to close?
Thank you
can i find a running file "msmsgs.exe" and SendMessage to close?
Thank you
Chris,
I don't think so.
You should use FindWindow and SendMessage.
see also latest thread about SendMessage:
Good luck,
Hendri.
I don't think so.
You should use FindWindow and SendMessage.
see also latest thread about SendMessage:
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.
Good luck,
Hendri.