You can add the VBScriptControl as a Component or as a Reference to your program: Go to the Projects menu and select e.g. References, then add MS Script Control.
When done you can declare and set a variable as your scriptcontrol:
Dim objSC as ScriptControl
Set objSC = New ScriptControl
From here on, you're an your own to perform whatever scripting function you like.
-----
The MS documentation on this control is rather trivial. For a more comprehensive source, I recommend you:
VBScript Programmer's Reference
Susanne Clarck, Antonio de Donatis, et. al.
WROX Press Inc.
ISBN: 1-861-00271-8
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.