Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-24-2005, 01:09 AM
Junior Member
 
Join Date: Oct 2004
Posts: 19
Default extract zip files

hi there. well got this little question if its possible to do. i have done a browse file and copy the file to a different folder/location. however, i would like to ask if its possible to extract a zip file which is copied (e.g. C:/zipFiles) and extracted to a different folder (e.g. c:/extractedZipz) using SWFKit Pro.

thanks. :-X
__________________
canned_tooth
Reply With Quote
  #2 (permalink)  
Old 01-25-2005, 12:11 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:extract zip files

http://www.codeguru.com/vb/gen/vb_gr...cle.php/c6743/
Reply With Quote
  #3 (permalink)  
Old 01-26-2005, 12:51 AM
Junior Member
 
Join Date: Oct 2004
Posts: 19
Default Re:extract zip files

hi. thanks for the reply. i tried to look at it and sure looks fine to me. i hope this was tested in SWFKit pro. i have to check on how to use it cuz the sample they gave was made thru VB and i dont have it installed anyway, if anyone had used this before... i hope i can get tips how to use it.

thanks guys! :-\
__________________
canned_tooth
Reply With Quote
  #4 (permalink)  
Old 01-27-2005, 08:24 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:extract zip files

That one needs the vb runtime library to work. There is another one http://www.codeproject.com/atl/sawzip.asp

The attached file is a recompiled version, it doesn't need any external dlls to run.

Code:
var zip = new ActiveXObject("SAWZip.Archive");
zip.open("c:\\test.zip");

for (i = 0; i < zip.files.count;  i++)
{
var file = zip.files[i];
trace(file.name);

file.fullpath = true;
file.extract("c:\\test");
}
You must register the attached dll before you can use it.
http://www.swfkit.com/swfkit/doc/pro_manual/node32.html
Reply With Quote
  #5 (permalink)  
Old 01-28-2005, 01:11 AM
Junior Member
 
Join Date: Oct 2004
Posts: 19
Default Re:extract zip files

Thanks TOPCMM. But will that mean that if another user will use it, he will have to register the dll too? i guess the answer is yes :-[ will try it anyway. Thanks!
__________________
canned_tooth
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:38 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.