Help - Search - Members - Calendar
Full Version: Delete a instant message
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
codefreaker_
Hi,
how can I delete an instant message? (If possible, with the Skype4Com.dll control, if not, by another way)
CODE
com.Messages(cmbcontacts.List(cmbcontacts.ListIndex)).Remove i

doesn't work (Visual Basic 6/com = ocx control in Skype4Com.dll)

Thx
TheUberOverlord
QUOTE(codefreaker)
Hi,
how can I delete an instant message? (If possible, with the Skype4Com.dll control, if not, by another way)
CODE
com.Messages(cmbcontacts.List(cmbcontacts.ListIndex)).Remove i

doesn't work (Visual Basic 6/com = ocx control in Skype4Com.dll)

Thx


Please check here:

https://developer.skype.com/Docs/Skype4COML...llection#Remove
codefreaker_
https://developer.skype.com/Docs/Skype4COML...llection#Remove
--
But com.messages is a ChatMessageCollection. So com.Messages(UserHandle).Remove is the function descripted in the link. But it doesn't work. It doesn't delete (all) the message(s).
CODE
com.Messages(cmbcontacts.List(cmbcontacts.ListIndex)).Remove i

The problem is that the skype4com.dll ignores (?) these commands (Remove and RemoveAll).

Is there any solution?


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