What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » How to close MSN in program?

How to close MSN in program?
Author: Message:
carlz
New Member
*


Posts: 13
Joined: Dec 2004
O.P. How to close MSN in program?
Hello everyone,

Now I build a MSN plug-in program, but I need to exit MSN and enter again when install my program, could anyone tell me how to exit MSN in program?

thanks a lot!
12-30-2004 12:53 AM
Profile E-Mail PM Find Quote Report
MC.POP
Full Member
***

Avatar
the DJ that hits the limitz

Posts: 270
Reputation: 12
36 / Male / –
Joined: Aug 2004
RE: How to close MSN in program?
u need to exit out not just close it
[Image: spidermansig5.jpg]
12-30-2004 01:14 AM
Profile E-Mail PM Find Quote Report
.blade//
Veteran Member
*****

Avatar

Posts: 2856
Reputation: 39
35 / Male / –
Joined: Jan 2004
RE: How to close MSN in program?
quote:
Originally posted by musicalmidget
You can do this by right clicking the Messenger icon in the system tray and selecting "Exit". :)

:lol:


I think he means he wants his installer to close MSN while the program installs then re-launch it after (like Plus! does)  :P
[Image: A%20Pointy%20Rock.jpg]
12-30-2004 01:19 AM
Profile PM Web Find Quote Report
musicalmidget
Elite Member
*****

Avatar
Hmm, randomness...

Posts: 1663
Reputation: 12
37 / Male / Flag
Joined: Dec 2002
RE: How to close MSN in program?
Damn, I've got my wires crossed this time.  I'm going to bed... :p

Post deleted. :lol:

This post was edited on 12-30-2004 at 12:04 PM by musicalmidget.
12-30-2004 01:21 AM
Profile E-Mail PM Web Find Quote Report
TheSarlacc
New Member
*

Avatar
Kinh, ur the greatest!

Posts: 7
39 / Male / –
Joined: Dec 2004
RE: How to close MSN in program?
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...
Religion is a disease for which science is the antidote.
12-30-2004 06:05 AM
Profile E-Mail PM Find Quote Report
Ash_
Senior Member
****

Avatar

Posts: 638
Reputation: 31
35 / Male / –
Joined: Aug 2004
RE: RE: How to close MSN in program?
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 :refuck:

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"
[Image: jeansiger5.jpg]
12-30-2004 08:44 AM
Profile PM Find Quote Report
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
31 / Male / Flag
Joined: Mar 2003
Status: Online
RE: How to close MSN in program?
Actually, if you want to reload the plugins,  you can tell Plus! to do so with 2 api calls :)

Look in the readme.txt that comes with the plugin api documentation (typo? :P)
There is an example for C++.
YouTube closed-captions ripper (also allows you to download videos!)
12-30-2004 08:50 AM
Profile E-Mail PM Web Find Quote Report
carlz
New Member
*


Posts: 13
Joined: Dec 2004
O.P. RE: How to close MSN in program?
Thanks very much! Now I exit and reopen MSN successfully using psapi.dll.
01-04-2005 05:14 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On