Zipping files using vb6

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.
Karthik_SeshagiriAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
c0ldfyr3Connect With a Mentor Commented:
0
 
c0ldfyr3Commented:
I don't understand either question but for the second I can't see why not?
0
 
Mark_FreeSoftwareConnect With a Mentor Commented:
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
 
Karthik_SeshagiriAuthor Commented:
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
 
Mark_FreeSoftwareConnect With a Mentor Commented:
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
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.

All Courses

From novice to tech pro — start learning today.