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]