?
Solved

Zipping files using vb6

Posted on 2008-10-01
6
Medium Priority
?
536 Views
Last Modified: 2013-11-10
Hello

My application is in Visual basic 6.0

The objective of my taks is to use the shell command and invoke zip.exe for a set of files.

Question
----------
1) Can I make this process blocking?
2) Can I zip files from the c:\windows\system32 folder?

Please let me know.
0
Comment
Question by:Karthik_Seshagiri
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
6 Comments
 
LVL 10

Expert Comment

by:c0ldfyr3
ID: 22619099
I don't understand either question but for the second I can't see why not?
0
 
LVL 10

Accepted Solution

by:
c0ldfyr3 earned 672 total points
ID: 22619108
0
 
LVL 13

Assisted Solution

by:Mark_FreeSoftware
Mark_FreeSoftware earned 1328 total points
ID: 22620304
1), yes you can, _but_ you need to make sure the process that launches your process wait for it to finish!
2) as long as you have read access, sure
0
 

Author Comment

by:Karthik_Seshagiri
ID: 22621523
Thanks folks

Thanks all....

On Mark_FreeSoftware: point, please could you elaborate on point 1

1), yes you can, _but_ you need to make sure the process that launches your process wait for it to finish!
Please could you provide an example for the above point.

Thanks
0
 
LVL 13

Assisted Solution

by:Mark_FreeSoftware
Mark_FreeSoftware earned 1328 total points
ID: 22622403
providing its your process launching the application, if you launch it with this your code stops executing until the process is finished

http://www.mvps.org/access/api/api0004.htm
0

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.

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

A short article about problems I had with the new location API and permissions in Marshmallow
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

801 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