Go Premium for a chance to win a PS4. Enter to Win


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 70

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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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: 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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

824 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