What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Am i Right to assume that MPPLUGIN_RETURN_BOOL Initialize will give me the names....

Am i Right to assume that MPPLUGIN_RETURN_BOOL Initialize will give me the names....
Author: Message:
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: Am i Right to assume that MPPLUGIN_RETURN_BOOL Initialize will give me the names.
in VB6 then make a form with 1 list box and add the following code
in declarations:
quote:
Public WithEvents msn As MessengerAPI.Messenger
and then in the main part of the code add this:
quote:
Private Sub Form_Load()
Set msn = New MessengerAPI.Messenger
Dim msncontact As IMessengerContact
Dim msncontacts As IMessengerContacts
Set msncontacts = msn.MyContacts
For Each msncontact In msncontacts
List1.AddItem (msncontact.SigninName)
Next
End Sub

EDIT: forgot to mention you need to reference the Messenger API Type Library or this wont work :p

in VB6 Project > References > and tick Messenger API Type Library

This post was edited on 11-28-2004 at 02:32 PM by Eljay.
11-28-2004 02:18 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Am i Right to assume that MPPLUGIN_RETURN_BOOL Initialize will give me the names.... - by TrevorP on 11-28-2004 at 01:50 PM
RE: Am i Right to assume that MPPLUGIN_RETURN_BOOL Initialize will give me the names.... - by Plik on 11-28-2004 at 02:12 PM
RE: Am i Right to assume that MPPLUGIN_RETURN_BOOL Initialize will give me the names. - by Eljay on 11-28-2004 at 02:18 PM
RE: Am i Right to assume that MPPLUGIN_RETURN_BOOL Initialize will give me the names.... - by TrevorP on 11-28-2004 at 02:41 PM
RE: Am i Right to assume that MPPLUGIN_RETURN_BOOL Initialize will give me the names.... - by CookieRevised on 11-29-2004 at 03:38 AM


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