What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Resolved] Talking to VB.

[Resolved] Talking to VB.
Author: Message:
Griffo
Junior Member
**


Posts: 27
Joined: Apr 2006
RE: Talking to VB.
I've been trying to work with DLL's too, not much luck though!

I've tried making a basic script to simply display some test from a DLL.

SCRIPT:
code:
function OnEvent_Initialize(MessengerStart)
{
var MyActiveXObject = new ActiveXObject('Project1.Class1');
Debug.Trace(MyActiveXObject.ShowMyText);
}

VB DLL:
code:
Public Function ShowMyText()
ShowMyText = "Hello World!"
End Function

I am using the code above, but I keep getting the following error..."
code:
Script is starting
Script is now loaded and ready
Function called: OnEvent_Initialize
Error: Wrong number of arguments or invalid property assignment.
       Line: 4. Code: -2146827838.
Function OnEvent_Initialize returned an error. Code: -2147352567

Any idea what I am doing wrong?

Thanks :)

This post was edited on 07-09-2006 at 11:06 AM by Griffo.
07-09-2006 11:04 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Resolved] Talking to VB. - by Tails on 07-06-2006 at 03:01 PM
RE: Talking to VB. - by matty on 07-06-2006 at 03:03 PM
RE: Talking to VB. - by Tails on 07-06-2006 at 03:25 PM
RE: Talking to VB. - by matty on 07-06-2006 at 03:40 PM
RE: Talking to VB. - by Tails on 07-06-2006 at 04:02 PM
RE: RE: Talking to VB. - by mathieumg on 07-08-2006 at 05:00 AM
RE: Talking to VB. - by Tails on 07-08-2006 at 11:49 AM
RE: Talking to VB. - by CookieRevised on 07-08-2006 at 11:54 AM
RE: Talking to VB. - by Tails on 07-08-2006 at 12:30 PM
RE: Talking to VB. - by CookieRevised on 07-08-2006 at 01:06 PM
RE: Talking to VB. - by Tails on 07-09-2006 at 04:24 AM
RE: Talking to VB. - by CookieRevised on 07-09-2006 at 10:27 AM
RE: Talking to VB. - by Griffo on 07-09-2006 at 11:04 AM
RE: Talking to VB. - by CookieRevised on 07-09-2006 at 11:11 AM
RE: Talking to VB. - by matty on 07-09-2006 at 02:27 PM
RE: Talking to VB. - by Griffo on 07-09-2006 at 03:56 PM
RE: Talking to VB. - by matty on 07-09-2006 at 04:19 PM
RE: Talking to VB. - by Griffo on 07-09-2006 at 08:32 PM
RE: Talking to VB. - by Tails on 07-09-2006 at 10:54 PM
RE: [Resolved] Talking to VB. - by cooldude_i06 on 07-09-2006 at 11:30 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