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:
AndreasB
New Member
*


Posts: 5
Joined: Aug 2005
O.P. contact list plugin VB
I will programm a contact list Plugin.
I will a desktop contact list that is on a block, because i will only the online User in the list, not single.
I programm in VB. I can't find a function how can I find wich contacts are online.

sorry form my English, I hope you can understand me...

mfg Andreas
12-19-2005 08:04 PM
Profile E-Mail PM Find Quote Report
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
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
38 / Male / Flag
Joined: Jul 2003
RE: contact list plugin VB
instead of
code:
List1.AddItem MsgrContact.Status = MISTATUS_ONLINE
it should be
code:
List1.AddItem MsgrContact.SigninName
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
12-19-2005 09:34 PM
Profile E-Mail PM Web Find Quote Report
AndreasB
New Member
*


Posts: 5
Joined: Aug 2005
O.P. RE: contact list plugin VB
Thanks for the Code!

But where can I find the Messenger Api Doc?


mfg Andreas

This post was edited on 12-22-2005 at 08:34 PM by AndreasB.
12-22-2005 08:33 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: contact list plugin VB
quote:
Originally posted by AndreasB
But where can I find the Messenger Api Doc?
http://www.msgplus.net/help_plugins.php
12-22-2005 08:50 PM
Profile E-Mail PM Find Quote Report
AndreasB
New Member
*


Posts: 5
Joined: Aug 2005
O.P. RE: contact list plugin VB
I mean the MSN Messenger Api Doc, from Microsoft.
Its a Link on a Topic in this Forum, but it don't work...


mfg Andreas
12-22-2005 09:02 PM
Profile E-Mail PM Find Quote Report
L. Coyote
Senior Member
****

Avatar
Captain Obvious

Posts: 981
Reputation: 49
39 / Male / Flag
Joined: Aug 2004
Status: Away
RE: contact list plugin VB
quote:
Originally posted by AndreasB
I mean the MSN Messenger Api Doc, from Microsoft.
Its a Link on a Topic in this Forum, but it don't work...
It's included in the Plus! API kit.

Hack, hack, hack!
Finally became a Systems Analyst! :spam:

12-22-2005 09:05 PM
Profile 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