IPB

Welcome Guest ( Log In | Register )

> MSNContacts, Get a contact List in Live Messenger
FlAsH
post Sep 3 2006, 08:49 AM
Post #1


Mess.beanie
*

Group: Members
Posts: 18
Joined: 28-August 05
Member No.: 12,016



Hi!

How is it possible to get the contacts in a Listbox with the Live Messenger?
CODE

Public WithEvents msn As MessengerAPI.Messenger

Private Sub Form_Load()
Set msn = New MessengerAPI.Messenger
End Sub

Private Sub command1_click()
Dim msncontact As IMessengerContact
Dim msncontacts As IMessengerContacts
Set msncontacts = msn.MyContacts
For Each msncontact In msncontacts
List1.AddItem (msncontact.SigninName)
Next


Will not work...

"Method MyContacts in Object IMessenger3 failed."

Can you help me?


Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 31st July 2010 - 08:40 PM
© 2004-2008 Seb Skuse, mess.be.
MessForum v6.1.4 - created for, and for use only by mess.be.