iamareplicant
Programmer
I am a VBA programmer new to VBscript.
What I would like to be able to do is create a child script that has several classes in them, then be able to call/instantiate those classes from other VBscripts.
All of my VBScript files will be run as Windows Scripting files (cscript) etc., and all files end in .VBS.
So, I need an example of how to call, from a parent script, a child script's classes.
Something like:
(Parent script)
Some sub()
Dim obj
set obj = new OtherscriptClass.Dosomething
end sub
I have searched online and Tek-Tips till I am more bald that I already was, and cannot find an example (nor can I find an example in several VBscript books).
Maybe this cant be done? Or, it is so simple that there are not examples?
Any help would be appreciated...
Thanks
Jeff
What I would like to be able to do is create a child script that has several classes in them, then be able to call/instantiate those classes from other VBscripts.
All of my VBScript files will be run as Windows Scripting files (cscript) etc., and all files end in .VBS.
So, I need an example of how to call, from a parent script, a child script's classes.
Something like:
(Parent script)
Some sub()
Dim obj
set obj = new OtherscriptClass.Dosomething
end sub
I have searched online and Tek-Tips till I am more bald that I already was, and cannot find an example (nor can I find an example in several VBscript books).
Maybe this cant be done? Or, it is so simple that there are not examples?
Any help would be appreciated...
Thanks
Jeff