any free OCX to Make a Zip File???

Posted on 2002-03-16
Medium Priority
Last Modified: 2008-02-01
I use the command line of winzip, but I couldn't know If the password is correct or not.
I shell it by vb:
path = "wzzip a.zip a.txt"
shell path, vbhide
and I wait it to complete(using api).
but if the password is incorrect I can't know. using Dir function is not helpful, because by extracting, it will replace an existing files.
I tried:
shell path & " > result.txt", vbhide
to put the result in a text file but it didn't work from shell, it didn't make the txt file.
I tried to extract the zip file to a temporary folder, and if I didn't find any file in the temporary folder, It will send an error msgbox "password incorrect". but It is very stupid to use this methode.
can I know the result of a command line called by shell?

any comments??, or Can you give me any free Ocx to zip and extract a winzip file .??

Question by:omarmallat
LVL 15

Expert Comment

ID: 6871308
LVL 71

Expert Comment

by:Éric Moreau
ID: 6871719

Author Comment

ID: 6873622
before you give me the ocx, I need to know how can I get the result of a dos command, called by shell
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

LVL 15

Expert Comment

ID: 6873636
If you use one of the methods shown above, you don't need to check a DOS error code, as it will return a result directly.

Author Comment

ID: 6880542
but it is very important to me to know how can I know the result in the command windows(hidden). it solve more then one problem. so please, if somebody know, tell me how to..

Accepted Solution

glass_cookie earned 240 total points
ID: 6882220

Here's a file for you over the net:

Description: ZipOCX sample

Description: ZLIB is a compression library compatible with the gzip format

That's it!

glass cookie : )

Expert Comment

ID: 7018820
ADMINISTRATION WILL BE CONTACTING YOU SHORTLY.  Moderators Computer101, Netminder or Mindphaser will return to finalize these if they are still open in 7 days.  Experts, please post closing recommendations before that time.

Below are your open questions as of today.  Questions which have been inactive for 21 days or longer are considered to be abandoned and for those, your options are:
1. Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you, but may help others. You must tell the participants why you wish to do this, and allow for Expert response.  This choice will include a refund to you, and will move this question to our PAQ (Previously Asked Question) database.  If you found information outside this question thread, please add it.
3. Ask Community Support to help split points between participating experts, or just comment here with details and we'll respond with the process.
4. Delete the question (if it has no potential value for others).
   --> Post comments for expert of your intention to delete and why
   --> YOU CANNOT DELETE A QUESTION with comments; special handling by a Moderator is required.

For special handling needs, please post a zero point question in the link below and include the URL (question QID/link) that it regards with details.
Please click this link for Help Desk, Guidelines/Member Agreement and the Question/Answer process.  http://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp

Click you Member Profile to view your question history and please keep them updated. If you are a KnowledgePro user, use the Power Search option to find them.  

Questions which are LOCKED with a Proposed Answer but do not help you, should be rejected with comments added.  When you grade the question less than an A, please comment as to why.  This helps all involved, as well as others who may access this item in the future.  PLEASE DO NOT AWARD POINTS TO ME.

To view your open questions, please click the following link(s) and keep them all current with updates.

*****  E X P E R T S    P L E A S E  ******  Leave your closing recommendations.
If you are interested in the cleanup effort, please click this link
POINTS FOR EXPERTS awaiting comments are listed in the link below
Moderators will finalize this question if in @7 days Asker has not responded.  This will be moved to the PAQ (Previously Asked Questions) at zero points, deleted or awarded.
Thanks everyone.
Moderator @ Experts Exchange

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As a person who answers a lot of questions, I often see code that could be simplified, made easier to read, and perhaps most importantly made easier to maintain if the code was modified to use the Select Case statement. This article explains how to…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

586 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question