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

contact list plugin VB
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: contact list plugin VB
Set a reference (Project > References) to Messenger API

code:
Public WithEvents objMSN As Messenger

Private Sub Form_Load()
   Set objMSN = New Messenger
   LoadContact
End Sub

Private Sub LoadContact()
Dim MsgContacts As IMessengerContacts
Dim MsgContact As IMessengerContact

   Set MsgrContacts = objMSN.MyContacts
   
   For Each MsgrContact In MsgrContacts
      If MsgrContact.Status = MISTATUS_ONLINE Then
           List1.AddItem MsgrContact.SigninName ' :mipdodgy: Dempsey
      End If
   Next
End Sub

This can also be done in the Plus! Plugin API but I dont have time to code it and post it so take that and convert it.

This post was edited on 12-19-2005 at 10:17 PM by matty.
12-19-2005 09:11 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
contact list plugin VB - by AndreasB on 12-19-2005 at 08:04 PM
RE: contact list plugin VB - by matty on 12-19-2005 at 09:11 PM
RE: contact list plugin VB - by Dempsey on 12-19-2005 at 09:34 PM
RE: contact list plugin VB - by AndreasB on 12-22-2005 at 08:33 PM
RE: contact list plugin VB - by matty on 12-22-2005 at 08:50 PM
RE: contact list plugin VB - by AndreasB on 12-22-2005 at 09:02 PM
RE: contact list plugin VB - by L. Coyote on 12-22-2005 at 09:05 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