AnsweredAssumed Answered

vrf Kill PC processes in Vee 6

Question asked by VRFuser on Jun 20, 2006
> > It's a windows application (single exe file)

Post WM_CLOSE to main window. For applications that ask for silly confirmation (i.e., "Exit program, are you sure?") post WM_QUIT instead. QUIT is almost as bad as calling TerminateProcess - avoid it at all costs. SendKeys("%{F4}") works for just about anything. Tag a "y" or "~" (~ as long as the default button is Yes or OK) on the end for silly confirmation.