[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 557
  • Last Modified:

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.
0
Karthik_Seshagiri
Asked:
Karthik_Seshagiri
  • 2
  • 2
3 Solutions
 
c0ldfyr3Commented:
I don't understand either question but for the second I can't see why not?
0
 
c0ldfyr3Commented:
0
 
Mark_FreeSoftwareCommented:
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_FreeSoftwareCommented:
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

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now