Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unzip Files via ActiveX Script Task - Error:Object Required: 'WScript

Status
Not open for further replies.

dmn1

Programmer
Jun 17, 2003
2
US
Hello, I am attempting to unzip a series of files via "WScript.shell" object within a DTS/ActiveX Script Task. However, I receive the following error "Object Required: 'WScript'" on the following line - "WScript.Sleep 100" - this line is wrapped in a loop as in the following:

Do While oExec.Status = 0
WScript.Sleep 100
Loop

I am attempting to monitor the progress of the oExec as the files are being processed (unzip). I was hoping to ensure that the ActiveX task would complete not until all the files have been successfully unzipped.

If you any suggestions how I may get this code to work or an alternative work around, it would be greatly appreciated. Thanks in advance.

Take Care - Michael


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top