calling windows script hosting in activex script -
08-23-2006
, 06:11 AM
Hey eb
I need to catch an event of a COM object inside a DTS package.
I am creating that object inside an activex script step,
there for would like to handle its events there.
I was told that the only way to catch COM events inside scripts is
by calling createobject() through windows script host with a prefix for
referencing that object's events sub routines.
like:
Set myObj = wscript.createobject("myObject","objPreFix_")
But when running this line (with DTS's activex script task)I get an error:
wscript is
not a known object..
Had any one of you succeeded in referencing windows script host inside an
activex script ?
Thanks alot
Rea |