Dim cons As IMessengerContacts
Dim con As IMessengerContact
listbox1.Items.Clear()
cons = msn.MyContacts
For Each con In cons
If con.Status <> MISTATUS.MISTATUS_OFFLINE Then
listbox1.Items.Add(con.SigninName)
End If
Next
If msn.MyStatus = MISTATUS.MISTATUS_ONLINE Then
Button4.Text = "Offline"
msn.MyStatus = MISTATUS.MISTATUS_INVISIBLE
Else
Button4.Text = "Online"
msn.MyStatus = MISTATUS.MISTATUS_ONLINE
End If
If msn.MyStatus = MISTATUS.MISTATUS_ONLINE Then
Button4.Text = "Offline"
Else
Button4.Text = "Online"
End If
Dim cons As IMessengerContacts
Dim con As IMessengerContact
ListBox1.Items.Clear()
cons = msn.MyContacts
For Each con In cons
If con.Status <> MISTATUS.MISTATUS_OFFLINE Then
ListBox1.Items.Add(con.SigninName)
End If
Next
THIS IS FOR THE RIGHT PART:
Name the Get Current Name Button "btnCurrent"
Name the Set New name Button "btnNew"
Name the Textbox above "TxtNew"
Name the Info About Name label "Lblcurrent"
Ye, i think thats it.
Download my software <3: [You need WinRar to open it!!!]
Re: *Msn* Listbox With Msn Contacts!
Posted: Mon Dec 28, 2009 1:02 pm
by Nery
I have some problems with the Messenger APIs, I can't use them, I never could, I tried to do enumerous things for MSN and I always had the same troubles in Messenger APIs, I must have some compatibility problems or something since I have Windows 7...
Great tutorial though...
Re: *Msn* Listbox With Msn Contacts!
Posted: Fri Jan 01, 2010 8:31 pm
by RunarM
I don't think its because you have have Windows 7, cause thats why i am using.
Have you tried to reinstall windows messager, well if that doesnt work then i can't help you :/
Re: *Msn* Listbox With Msn Contacts!
Posted: Sat Jan 02, 2010 2:14 pm
by Lewis
Yeah msn API dont work for me, and im using windows XP
Re: *Msn* Listbox With Msn Contacts!
Posted: Wed Jan 06, 2010 4:50 pm
by Usman55
Hello Everyone!
This program is very nice but I don't use MSN lol!
Thanks anyways!
Re: *Msn* Listbox With Msn Contacts!
Posted: Thu Jan 14, 2010 10:27 am
by Nery
Well I reinstalled MSN multiple times but it still doesn't work.
I give up, dam you Microsoft!!!!!