Solved

Zipping files using vb6

Posted on 2008-10-01
6
517 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 168 total points
ID: 22619108
0
 
LVL 13

Assisted Solution

by:Mark_FreeSoftware
Mark_FreeSoftware earned 332 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 332 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

738 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