Help - Search - Members - Calendar
Full Version: Regarding SkypeChatMessage Count
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
narasimhak_
Hi,
I am devloping an application in VB.Net . I am using ActiveS Com Wrapper(Khaoslabs). I am trying to get the count of the recent chat messages of each user. So i have writtent a code with messagereceived event. But i am not sure, when i run my code, when i receive a message from user for first time, 2 or 3 msgbox pops up, giving count as 1, 2 & 3 and sometimes 1,1,2 and 1,2,2. I am not sure why is it. I think it should show 1 when a message is received. The count is fine after count 3. It is showing correctly. Is it the problem with actives or something else. Any help regarding this would be really appretiated. Code is as shown below.

Private Sub objSkype_ChatMessageReceived(ByVal SkypeChatMessage As SKYPEAPILib.ChatMessage) Handles objSkype2.ChatMessageReceived
MsgBox(SkypeChatMessage.Chat.GetRecentChatMessageList.Count , MsgBoxStyle.Information, "Msg Box")
End Sub


Thanks

--Narasimha
narasimhak_
Hello. Can anyone please help me out. I would really appretiate any help regarding above issue.

Thanks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.