PDA

View Full Version : Quick and Dirty VB


obiwanjabroni
06-22-2005, 10:45 PM
Anyone have a quick way to send the WM_CLOSE message to an application that you have the app ID for in VB?

Even better, if you know of a way that I can simply end the process, it would be great.

Thanks in advance.

enumerator
06-22-2005, 11:16 PM
Terminating Processes (vbs):
http://www.microsoft.com/technet/scriptcenter/guide/sas_prc_fgbg.mspx

Scripting API for WMI:
http://msdn.microsoft.com/library/en-us/wmisdk/wmi/scripting_api_for_wmi.asp

obiwanjabroni
06-23-2005, 02:13 PM
Thanks a lot! The site helped a lot.