Need help to figure out how to overide the default CreateObject() function in VBScript with my own.
Basically the same exact thing as this example in VB6:
http://www.darinhiggins.com/2007/08/22/TheVB6CreateObjectFunction.aspx
I just need to adapt this to work in VBScript. The only thing I cannot figure out is this line:
VBA.CreateObject(Class$, ServerName$)
How do I refer to "VBA" in VBSript?
any help would be appreciated