VBA to dump zip file contents to a file 
Author Message
 VBA to dump zip file contents to a file

Can anyone suggest VB code, or a method of exporting the contents of a

1 - zip file, and

2 - directory

to a database table, xls, or file?

Thanks in advance.

Larry Mehl



Sat, 13 May 2000 03:00:00 GMT  
 VBA to dump zip file contents to a file

Quote:
>Can anyone suggest VB code, or a method of exporting the contents of a
>2 - directory
>to a database table, xls, or file?

For directory you can use Dir function
Best regards,
___________
Alex Dybenko
Point Limited

Home Page: http://www.geocities.com/SiliconValley/Heights/5091/
Moscow MS Access User Group, chairman
http://www.arimsoft.ru/msaccess


Sun, 14 May 2000 03:00:00 GMT  
 VBA to dump zip file contents to a file

Dear Mr. Mehl,

        Well it's an old Kludge yet it may get you there, I used it to manage
hardrive filing system w/ access. Shell32 and wait a pkzip -v piped to a
text file. Then you will need some code to read in and process your text
file.

del "arch.txt"
iRV = Shell("pkunzip -v arch.zip > arch.txt", 1)  
' there is a way to shell & wait, but I'd have to charge ya for it.
do
        wait (2)        
 until fileexists("arch.txt")
' read in the file and populate tables
open #4 arch.txt for input
        blah blah blah
close #4

HTH,
Byron
=========================================
| Downey Enterprises          (414) 654-3555
| Opening Information for your Organization
| P.O. Box 264, Kenosha, WI    53141-0264

=========================================



Tue, 16 May 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Dumping form contents to bitmap files?

2. PROBLEMS: Dumping the contents of a DataGrid control to a text file

3. Reading files from a zip file (Just reading the filenames, not unzipping or zipping)

4. Viewing the Contents of a ZIP file

5. Create a Zip file with vba

6. Compressing to Zip files within VBA

7. Creating a ZIP file directly from Excel (VBA)

8. read file contents using vba ort vb6?

9. store content of VBA variables in .VSD file

10. VBA Select contents of entire file

11. CGI32.ZIP Using VB to write CGI files - cgi32.zip (1/1)

12. How see file names inside zip files

 

 
Powered by phpBB® Forum Software