Hi, I'm trying to list my MSN contacts in a local webpage via VBS, I've successfully created the MSN object but trouble arises when I try to extract property values from the 'contacts'; of which I'm beginning to believe aren't actually being created.
Heres the code I'm using:
VB Code:
  1. Dim oMSN
  2.     Set oMSN = CreateObject("Messenger.UIAutomation")
  3.    
  4.     Dim i, oContact, oContacts
  5.     Set oContacts = oMSN.MyContacts
  6.  
  7.     For i = 0 To oContacts.Count - 1
  8.         Set oContact = oContacts.Item(i)
  9.         MsgBox oContact.FriendlyName
  10.     Next
Any help highly appreciated, cheers.
-adehh