473,545 Members | 1,995 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.CreateOb ject("WScript.S hell")

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 2078
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******@hotma il.com> wrote in message
news:#l******** ******@TK2MSFTN GP10.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.CreateOb ject("WScript.S hell")

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******@hotma il.com> wrote in message
news:%2******** **********@TK2M SFTNGP10.phx.gb l...
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.CreateOb ject("WScript.S hell")

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
3281
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
9274
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 C:\MyFolder\My ZipFile.Zip C:\MyOtherFolder\MyFile.mdb") What is the syntax when you want a space in the zipfile file name?
2
5685
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 on the file StatsData.mdb and then eMail it to me. I can get WinZip to launch by using the Shell command as follows:
7
20986
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 much in advance, Pengyu.
3
14140
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 line version of WinZip). I have been unable to do so with any success. I have been using DTE.ExecuteCommand to try and get this working but the...
15
11110
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 ( update.zip ), and can automate the FTP'ing of the SE zip file to the update site. I have, as yet, been unable to find a way of automating the...
1
5164
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 names because it works in the command window. The call is to apiGetShortPathName from the kernel. It works great for returning the short name for...
11
2786
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 extremely frustrating. I have a particular archive which lives on a network drive, and each day I add to it some files from a local drive. I have a...
0
2727
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: "C:/zipbatch.bat" that contains below zip command winzip32.exe -min -a -ex "C:/zipfile.zip" "C:/sourcefile.csv" 2. I create new a process to run the...
0
7484
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7415
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7928
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7440
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5997
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5344
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4963
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3470
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1902
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.