|
|
|
Page 1 of 1 |
[ 2 posts ] |
|
 XUScripts.ScriptHost : Developer's Corner
|
|
Posted: February 12th, 2004, 3:27 pm
|
|
|
|
cgHome
cgHome's Reps:
|
In your scripting plugin, VBS has access to the object 'XUScriptHost'. Looking at all the XUnleashed references in VB6 I map this same object to 'XUScripts.ScriptHost'.
How can I get access to this script object as it would be very useful in the VB6 plug-in? Do I need to do something with the object 'XUScripts.MainClass' to create this object? [:-banghead]
Unlike the Marco objects the following does not work and produces an error:
Dim x As XUScripts.ScriptHost
Set x = New XUScripts.ScriptHost
Or
Set x = CreateObject("XUScripts.ScriptHost")
Or
Set x = GetObject("XUScripts.ScriptHost")
They also proceduce error 5 ('Invalid procedure call or argument') which is understandable as I am not using it in the correct way.
Cheers,
Chris
|
|
|
|
|
Posted: February 12th, 2004, 3:38 pm
|
|
|
|
Admin
Admin's Reps:
|
I would have thought that CreateObject("XUScripts.ScriptHost") would have worked.
|
|
|
|
|
Who is online |
|
Users browsing this forum: No registered users and 6 guests |
|
|
|