Hi,
I am trying out dotMSN and its great, and I am going from the sample.
Unfortunately, the sample is in C# and I don't know C#
I have managed to make my VB.NET app successfully connect to MSN Messenger but I can't to much more than that...
Here is a section I want to concentrate on:
and the line here:Code:private void ConversationCreated(Messenger sender, ConversationEventArgs e) { e.Conversation.ContactJoin += new Conversation.ContactJoinHandler(ContactJoined); }
And i have no idea how I write that in VB.NETCode:e.Conversation.ContactJoin += new Conversation.ContactJoinHandler(ContactJoined);
First of all, I don't know what its trying to do. the += thing baffles me... and second, VB.NET won't even let me write e.Conversation.ContactJoin because ContactJoin is an event. So I am completely confused...
And by the above bit, should I be writing it like this in vb?
VB Code:
Private Sub ConversationCreated(ByVal Sender As Messenger, ByVal e As ConversationEventArgs)
Thanks very much for the help! Sorry for including C# but I needed to post it in this forum, so please help me with this! I am so confused!




Reply With Quote