What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Getting and setting user's status

Getting and setting user's status
Author: Message:
SuBlImE
New Member
*

Avatar
The only releif from frustration ;)

Posts: 2
– / Other / –
Joined: May 2005
O.P. Huh?  Getting and setting user's status
Hey everyone :)

I'm trying to make a plug-in in visual basic and can't find out how to work with the user's status. Does anyone know how to get/set the msn messenger user's status? I think it might have somethign to do with "oMessenger.IMsgrService.LocalState" but I don't really know. Thanks for your help in advance :D
05-03-2005 05:14 AM
Profile E-Mail PM Find Quote Report
(CyBeRDuDe)
Senior Member
****


Posts: 512
Reputation: 21
37 / Male / –
Joined: Jul 2003
RE: Getting and setting user's status
oMessenger.MyStatus is the keyword... :D...
Use the MISTATUS Constants...
Eg: Setting your status to online would be
code:
oMessenger.MyStatus = MISTATUS_ONLINE
You have to remember that "oMessenger" would have to be replaced by the object messenger name.. :D... Of course I guess you knew this...?
If you have not set a reference to Windows Messenger/Messenger Api Type Library you can still do this, you would just need to know the integer number for the different states..
The different MISTATUS Constants and there equvilent Integer are as follows:
MISTATUS_ONLINE = 2
MISTATUS_BE_RIGHT_BACK = 14
MISTATUS_AWAY = 34
MISTATUS_BUSY = 10
MISTATUS_ON_THE_PHONE = 50
MISTATUS_OUT_TO_LUNCH = 66
MISTATUS_INVINSIBLE = 6

I am not sure if I was clear enough?.. Hope this helped you... :D...
And btw, Welcome to the forum! :D...
05-03-2005 07:38 AM
Profile E-Mail PM Find Quote Report
SuBlImE
New Member
*

Avatar
The only releif from frustration ;)

Posts: 2
– / Other / –
Joined: May 2005
O.P. RE: Getting and setting user's status
Thanks cyberdude, it works perfectly :)

And thank u for the nice welcome too :)
05-04-2005 12:43 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