Dempsey
Scripting Contest Winner
    

http://AdamDempsey.net
Posts: 2395 Reputation: 53
38 / / 
Joined: Jul 2003
|
RE: finding contacts' emails
At the top of your class module:
code: Private WithEvents MSN As MessengerAPI.Messenger
In Initalise event:
code: Set MSN = New oMessenger
At bottom of class module:
code: Private Sub MSN_OnIMWindowCreated(ByVal pIMWindow As Object)
Dim MSNCont As IMessengerContact
Dim MSNConvo As IMessengerConversationWnd
Set MSNConvo = pIMWindow
For Each MSNCont In MSNConvo.Contacts
MsgBox "Friendly Name: " & MSNCont.FriendlyName & vbCrLf & vbCrLf & "Signin Name: " & MSNCont.SigninName
Next
End Sub
|
|