Solved

Zipping files using vb6

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now