dbTalk Databases Forums  

calling windows script hosting in activex script

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss calling windows script hosting in activex script in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rea
 
Posts: n/a

Default 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

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.