What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Messenger API

Messenger API
Author: Message:
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Messenger API
If you want to check the online/offline status of your contacts, there is the MyContacts property made available by the Messenger object. MSN Fanatic has some useful information you can use.

The page is quite easy to follow. Basically, if you want to look at the status of your contacts, the page I've linked to above almost does it all for you. In other words, the following loop can be used:
code:
For index = 0 To <contact-list-object>.Count
    <contact-object> = <contact-list-object>.Item(index)
    'Do what you need to here
Next index
Just replace <contact-list-object> with the IMessengerContacts variable, and <contact-object> with the name of your IMessengerContact variable (which should both be declared before the loop). The variable index should be declared an Integer for efficiency.

Hope this helps.

This post was edited on 05-05-2004 at 03:45 PM by RaceProUK.
[Image: spartaafk.png]
05-05-2004 03:44 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Messenger API - by _BassReFLeX_ on 05-04-2004 at 03:17 PM
RE: Messenger API - by Stigmata on 05-04-2004 at 03:35 PM
RE: Messenger API - by RaceProUK on 05-04-2004 at 10:12 PM
RE: Messenger API - by dotNorma on 05-04-2004 at 10:48 PM
RE: Messenger API - by jokinau on 05-05-2004 at 01:49 PM
RE: Messenger API - by _BassReFLeX_ on 05-05-2004 at 03:07 PM
RE: Messenger API - by Sk3tch on 05-05-2004 at 03:21 PM
RE: Messenger API - by RaceProUK on 05-05-2004 at 03:44 PM
RE: Messenger API - by dotNorma on 05-05-2004 at 11:27 PM
RE: Messenger API - by _BassReFLeX_ on 05-07-2004 at 07:15 PM


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