taultunleashed logoXUScripts.ScriptHost : Developer's Corner
newtopic  postreply
 [ 2 posts ] 
blue large dot

XUScripts.ScriptHost : Developer's Corner

Posted: February 12th, 2004, 3:27 pm
 
cgHome
cgHome's Reps:
User avatar
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


Reply with quote
Posted: February 12th, 2004, 3:38 pm
 
Admin
Admin's Reps:
User avatar
I would have thought that CreateObject("XUScripts.ScriptHost") would have worked.


Reply with quote
Want Advertisements After The Last Post Removed? Create A Free Account!

blue large dot Who is online
Users browsing this forum: No registered users and 6 guests

Popular Sections
SWTOR Cheats
Guild Wars 2 Cheats
Guild Wars 2 Hacks
Guild Wars 2 Bots
Diablo 3 Cheats
Guild Wars 2 Mods

Popular Sections
WoW Cataclysm Cheats & Exploits
WoW Cataclysm Hacks & Bots
Star Wars The Old Republic Cheats
SWTOR Mods
Torchlight 2 Cheats
SWTOR Space Mission Bots
Site Nav and RSS
RSS Feed of Developer's Corner RSS Feed 

SitemapIndex SitemapIndex
RSS Feed RSS Feed
Channel list Channel list
left bottom corner Site and Contents Copyright 2001-2012 All Rights Reserved TaultUnleashed.com bottom corner
top left
top right
createaccount
Username:   Password:   Remember Me?