Solved

Zipping files using vb6

Posted on 2008-10-01
6
510 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
  • 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

786 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