I have the following code within the ActiveX: script:
[code]
sRptFileName = "\\ititpafs01\pds\INETPUB\FTPROOT\accumen\Political\" &
iRowCount1.Value & ".xls"
Dim vCsvFile
Dim vZipFile
Dim mcrZip
vCsvFile = "\\ititpafs01\pds\INETPUB\FTPROOT\accumen\Political\" &
iRowCount1.Value & ".xls"
vZipFile = "\\ititpafs01\pds\INETPUB\FTPROOT\accumen\Political\" &
iRowCount1.Value & ".zip"
mcrZip = "RUN l:\voicenet\isiti\winzip\wzzip.exe " & vZipFile & " " &
vCsvFile
SHELL(mcrZip)
[/code]
This is not working.
Can someone please help me out?
Thanks,
Ninel
[quoted text, click to view] Sue Hoegemeier wrote:
>Another option is to use an Execute Process task. You should
>be using the command line version of Winzip and execute the
>command line exe for WinZip (wzunzip) with the necessary
>parameters.
>
>-Sue
>
>
>>Is there any way I can zip up files within an ActiveX script?
>>
>>Thanks,
>>Ninel
--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums.aspx/sql-server-dts/200608/1