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

JScript To VB6
Author: Message:
ecion
Junior Member
**

Avatar

Posts: 25
Reputation: -1
37 / Male / –
Joined: Jul 2004
O.P. RE: JScript To VB6
Hmm. Thanks for that. However i am still having trouble sending data from JScript to VB.
Going by Matty's example. I have a project1.dll with a string fuction called ContactID. In this function I set the string varible to 'hello' (for test purposes). Then I have this in my Plus! Script:

    var MyActiveXObject = new ActiveXObject('Project1.Class1');
    MyActiveXObject.ContactID = Messenger.MyName;
    Debug.Trace(MyActiveXObject.ContactID());

But keep getting errors on the middle line, where i'm trying to assign a value to the string i made in the dll. If i comment out the line, then the rest works, and the backup varible 'hello' is displayed as it should. Any ideas what I'm doing wrong?
[Image: ecion_megane_sig2.jpg]
08-15-2006 10:14 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
JScript To VB6 - by ecion on 08-14-2006 at 07:34 PM
RE: JScript To VB6 - by RaceProUK on 08-14-2006 at 08:20 PM
RE: JScript To VB6 - by matty on 08-14-2006 at 08:50 PM
RE: JScript To VB6 - by ecion on 08-15-2006 at 10:14 AM
RE: JScript To VB6 - by RaceProUK on 08-15-2006 at 10:30 AM
RE: JScript To VB6 - by ecion on 08-15-2006 at 10:40 AM
RE: JScript To VB6 - by CookieRevised on 08-15-2006 at 10:51 AM
RE: JScript To VB6 - by ecion on 08-15-2006 at 12:07 PM
RE: JScript To VB6 - by ShawnZ on 08-15-2006 at 05:35 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