Closed GoogleCodeExporter closed 9 years ago
I have attached a sample vb code. Can you please see where i am doing some
thing wrong. You don't have any documentation online, from where i can look
into some samples VB.Net codes.
Please help me.
Original comment by solosoft...@gmail.com
on 5 Aug 2010 at 7:33
Attachments:
Original comment by freezing...@gmail.com
on 6 Aug 2010 at 8:26
Ok, I have the free time now so I'll see what I can do. I'll report soon enough
:)
Original comment by electk...@gmail.com
on 6 Aug 2010 at 11:12
Thanks for your help
Original comment by solosoft...@gmail.com
on 6 Aug 2010 at 11:58
Ok, what I can see from your VB.NET code your code seems fine.
The problem that users are returning offline statuses when they are online does
seem like a problem within the form here. I can only say when the owner is
logged into MSN, you seem to invoke PopulateContacts(), which is fine. The only
problem with that is there will be still more information sent from MSN
Protocol about those contact's status (if online, and so forth), which will
then be updated through MSNPSharp assembly. What you need to do is call
PopulateContacts() again when MSNPSharp is informed about the contact's status
changes.
To do this, you must also use the events Nameserver.ContactOnline and
Nameserver.ContactOffline, so add these events when the Main form loads up.
Invoke PopulateContacts(), and there you should be able to retrieve the latest
information about the contact's status (you may retrieve a constant amount of
updating depending how much contacts you have, so you may consider some other
system if you want). Hope this explains and helps you.
Secondly for sending messages, are you testing this only on one contact or on
multiple contacts? Thanks.
Original comment by electk...@gmail.com
on 7 Aug 2010 at 12:29
Original comment by electk...@gmail.com
on 11 Aug 2010 at 12:59
Original issue reported on code.google.com by
solosoft...@gmail.com
on 5 Aug 2010 at 7:06