What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » COM Events

COM Events
Author: Message:
omahena
New Member
*


Posts: 3
48 / Male / –
Joined: Jan 2007
O.P. RE: COM Events
Thanks for your reply. I didn't even realize that what you wrote is valid JScript. :D

I always used the event handlers in this way:

code:
var pActivex;

function OnEvent_Intialize(bMessengerStart)
{
  pActivex = new ActiveXObject("MyProject.Control");
  pActivex.MyEventName = fnEventHandler;
}

function fnEventHandler()
{
  // do my event stuff
}

I think I must have neglected to implement some interface in my COM object that I tried to use from the script. I'll figure that out tomorrow. |-)

I'll verify everything and report back if it works.
01-16-2007 11:11 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
COM Events - by omahena on 01-16-2007 at 09:30 PM
RE: COM Events - by omahena on 01-16-2007 at 10:19 PM
RE: COM Events - by deAd on 01-16-2007 at 10:55 PM
RE: COM Events - by omahena on 01-16-2007 at 11:11 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On