473,394 Members | 1,717 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

WinZip/Other Alternative?

I'm using ASP and I need to generate a ZIP file that contains a list of
files that I'm pulling from a database. I've determined WinZip's command
line parameters so that I can use it, the problem is I'm unsure how to run
WinZip on the server.

Set WshShell = Server.CreateObject("WScript.Shell")

WshShell.Run("c:\winzip.exe")

Assuming this would work, how do I get the process to terminate upon
completion? I can't have 20-30 WinZip applications running on the server, I
need it to handle what I send to it and then close. Maybe I'm taking the
entirely wrong approach here. Any help would be appreciated.

James
Jul 19 '05 #1
2 2065
There are COM objects that can do this. I've used ZBit Inc's product with
good success.
http://www.aspfaq.com/2187

--
http://www.aspfaq.com/
(Reverse address to reply.)


"James Baker" <cp******@hotmail.com> wrote in message
news:#l**************@TK2MSFTNGP10.phx.gbl...
I'm using ASP and I need to generate a ZIP file that contains a list of
files that I'm pulling from a database. I've determined WinZip's command
line parameters so that I can use it, the problem is I'm unsure how to run
WinZip on the server.

Set WshShell = Server.CreateObject("WScript.Shell")

WshShell.Run("c:\winzip.exe")

Assuming this would work, how do I get the process to terminate upon
completion? I can't have 20-30 WinZip applications running on the server, I need it to handle what I send to it and then close. Maybe I'm taking the
entirely wrong approach here. Any help would be appreciated.

James

Jul 19 '05 #2
I've used Winzip server-side before, but I used the command-line add-on for
Winzip.
http://www.winzip.com/downcl.htm

Ray at work

"James Baker" <cp******@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP10.phx.gbl...
I'm using ASP and I need to generate a ZIP file that contains a list of
files that I'm pulling from a database. I've determined WinZip's command
line parameters so that I can use it, the problem is I'm unsure how to run
WinZip on the server.

Set WshShell = Server.CreateObject("WScript.Shell")

WshShell.Run("c:\winzip.exe")

Assuming this would work, how do I get the process to terminate upon
completion? I can't have 20-30 WinZip applications running on the server, I need it to handle what I send to it and then close. Maybe I'm taking the
entirely wrong approach here. Any help would be appreciated.

James

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: EdB | last post by:
Has anyone ever interfaced with winZip from inside a VB.Net app? I'm looking to automatically zip up some files then delete them.
10
by: Steve | last post by:
Is there anyone with experience using the Winzip command line add-in? I can't get it to create the zip file with a space in the file name. Using: RetValue = Shell("C:\winzip\wzzip.exe...
2
by: Jim | last post by:
I all, I have a database on a user's network drive with the following path: E:\NewDB\StatsData.mdb I want to create a small "Utilities" database that the user can launch which will run WinZip...
7
by: Pengyu | last post by:
How to call up WinRAR or WinZip to decompress files without bring up WinRAR or WinZip windows? Just like the "Extract here" if you right click an rar/zip file using your mouse. Thank you very...
3
by: Rob | last post by:
No way this should be that difficult... I have a program that does a file watch on a folder. When a file is created in this folder, I simply want to zip it up using WinZip (with the command...
15
by: Karl | last post by:
Hi all, I regularly use FTP to place Self Extracting Zip files on the web for remote users to update their datafiles. Works very nicely. I have automated the creation of the initial zip file (...
1
by: hannahg | last post by:
I am trying to incorparate the win zip command line processor in my code on an Access 2003 database form. The code that I downloaded made a call to the windows api. It requires that you use short...
11
by: Killer42 | last post by:
Hi all. Has anyone else noticed this? In the Add dialogue, WinZip no longer allows you to follow a shortcut. Instead it simply selects the shortcut file itself to add to the archive. This is...
0
by: yugho | last post by:
I'm sorry if I post Winzip question here, but I met a problem. I was running Winzip command by using process in VB.Net, but I had error that I don't know how to trace. 1. I create a batch file:...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.