dbTalk Databases Forums  

ActiveX Script error

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


Discuss ActiveX Script error in the microsoft.public.sqlserver.dts forum.



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

Default ActiveX Script error - 04-20-2006 , 03:36 PM






The 1st 4 lines of code were copied verbatim from a VBS file that works
perfectly.
Why does it fail when running from a DTS ActiveX script?

Function Main()
set objShell = WScript.CreateObject("Wscript.Shell")
wait = true
strEXEC = "C:\FTPTest\FTPSNAP.BAT"
objShell.run strEXEC, 1, wait
Main = DTSTaskExecResult_Success
End Function

Debugging is not an option until I know how to make JIT debugging work...
(see my other posts on JIT Debugging)

--
Regards,
John

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.