[Help] ConnectObject Fails
Wednesday, November 2, 2005 by Sranshaft | Discussion: DesktopX
I've been trying to use ConnectObject in order to sink my gadget with MSN Messenger. It works or I should say SHOULD work but it keeps throwing a 'Type Mismatch' Error at me. I've set it up correctly following the guidelines at MSDN but...
Anyone have any ideas? Could it possibly be an error with DesktopX itself? Any help would be greatly appreciated as this will be an excited and dare I say wanted gadget when it is done.
Preview here -- Link
[CODE]
Set app = CreateObject("Messenger.UIAutomation.1")
ConnectObject app, "DMessengerEvents_"
Sub DMessengerEvents_OnContactStatusChange(contact ,status)
Object_OnTimer2
End Sub
Sub DMessengerEvents_OnContactFriendlyNameChange(res, contact ,name)
Object_OnTimer2
End Sub
[/CODE]
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!






