quote:
Originally posted by TheSarlacc
I would suggest you have the installation program search for the MSN window, and send it a windows message to shut down. Not that hard to do at all. The fun part is that the WM_CLOSE message doesn't close MSN, but just hides it.
*sigh* life was never meant to be easy!
OR, as a last resort, tell the user to close MSN before the installation continues. not too nice though...
or he could use the TerminateProcess api call
look up on google for how to use it, im not sure but i think you may need to Open the Process first (OpenProcess api)
move the return value into a variable (a long in Visual basic which is probly what your coding in)
then Terminate with the variable you just filled and a "0"