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 IMessengerContact
s 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.