Shoutbox

Sending data to ActiveXObject - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Sending data to ActiveXObject (/showthread.php?tid=67245)

Sending data to ActiveXObject by Deco on 10-12-2006 at 07:46 PM

Hi,

Here's what I'm trying to do:

Send the msgs I send on msn to a program I made in VB.Net... the only way I could think of would be using the ActiveXOBject but I don't know how. Could anyone clear this up for me or send me any link to somewhere I could learn about this?

Thanks


RE: Sending data to ActiveXObject by Matti on 10-13-2006 at 04:11 PM

To create an ActiveXObject:

code:
var myObj = new ActiveXObject("ClassName");
So, an example would be:
code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message) {
   var myObj = new ActiveXObject("MyLibrary.MyObject");
   var result = myObj.DoSomething(Message);
   return result;
}
assuming that MyLibrary.MyObject is a registered object.