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:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Talking to VB.
quote:
Originally posted by Griffo
code:
function OnEvent_Initialize(MessengerStart)
{
var MyActiveXObject = new ActiveXObject('Project1.Class1');
Debug.Trace(MyActiveXObject.ShowMyText);
}

It should be written as MyActiveXObject.ShowMyText()
code:
function OnEvent_Initialize(MessengerStart)
{
var MyActiveXObject = new ActiveXObject('Project1.Class1');
Debug.Trace(MyActiveXObject.ShowMyText());
}
quote:
Originally posted by Griffo
code:
Public Function ShowMyText()
ShowMyText = "Hello World!"
End Function

When declaring ShowMyText it should return a string
code:
Public Function ShowMyText() As String
ShowMyText = "Hello World!"
End Function

Here you go.

.plsc File Attachment: ActiveXObject Example.plsc (4.74 KB)
This file has been downloaded 344 time(s).

This post was edited on 07-09-2006 at 04:21 PM by matty.
07-09-2006 04:19 PM
Profile E-Mail PM 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