![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Additional Libraries Users contributed libraries. This sub-forum is only available to licensed users. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Two functions (currently only for desktop, requires .NET 2.0).
CreateZip(zipFileName, sourceDirectory, recurseDirectories, fileFilter) ExtractZip(zipFileName, targetDirectory, fileFilter) Implements (wraps is a better word) part of #developZipLib class FastZip Attached are: dzZipLib.zip, VB source code and #develop project. ZipTest1.zip, B4PPC source. You also need to download ICSharpCode.SharpZipLib.dll from http://www.sharpdevelop.net I ask for your understanding because of the very very early development stage. |
|
||||
|
Zip and Unzip Library for Basic4PPC. Targets .NET 1.1 (desktop) and .NET 1.0 (device) and needs ICSharpCode.SharpZipLib.dll (open source zip library)
Has 4 functions. All of them works for desktop, but 3 of them works for the device. For CreateZip (desktop only) and ExtractZip (device and desktop) see previous post. Short description for 2 new functions: ZipFiles(FilesToZip, ZipFile) FilesToZip an array of string containing full path filenames to zip ZipFile a string containing full path of zip file to be created UnzipFiles(TargetDirectory, ZipFile) TargetDirectory a string containing full path to folder where zipped files will exists after unzip. If the folder doesn't exists it will be created by the library. ZipFile a string containing full path of zip file to be unzipped. For how to use this library see attached b4ppc sample file. To download compiled DLLs press here http://www.terracom.gr/basic4ppc/dzZipLib_DLLs_only.zip To download dzZipLib vb.net source press here http://www.terracom.gr/basic4ppc/dzZipLib-2.zip To download ICSharpCode.SharpZipLib c# source code go to www.sharpdevelop.net Regards |
|
|||
|
Quote:
When I unzip and load the ZipTest1 app in the Basic4ppc editor to test with, I get this Basic4ppc message: An error occured. The format of the 'dzZipLib.dll' is invalid. I also get this when I click OK on the Components dialog box with dzZipLib.dll loaded. Any ideas anyone? |
|
||||
|
use ICSharpCode.SharpZipLib.dll and dzZipLib.dll from the second version I've posted. They are both compiled for .NET 1.0.
In the first post they are compiled for .NET 2.0 and I think that this is the problem. Do you have .NET 2.0 installed? |
|
|||
|
I downloaded the second version and it worked. But I do have .Net 2.0 installed. To be specific I have version 2.0.50727. I got this from Visual Studio 2005..Help..About. I would think either version should work. If I look in Add and Remove Programs it shows I have .Net 1.1 and 2.0 installed. Should I remove version 1.1? Maybe there is a .Net 2.0 service pack I do not have.
|
|
|||
|
Hi.
When I load the library into the IDE on the Pocket PC I get this error when using the .net 1.0 version: Could not load type IPCSharpCode.SharpZipLib.Zip.FastZip from assembly Version=0.85.1.271, Culture=neutral, PublicKeyToken=1B03E6ACF116 Am I missing something? I have both the DZTZipLib.dll and the ICSharpCode .dll you provided. Any help would be cool! Thanks, and I am still excited about this library. BTW, you have any plans on doing sound libraries, like being able to play and control multiple sounds? Thanks, and keep up the great work! Last edited by Louis : 07-05-2007 at 08:12 PM. Reason: Misspelled words |
|
||||
|
Hi,
I'll try to make some things clear. Basic4ppc (desktop and device version is a .NET 1 application (desktop 1.1 and device 1.0 SP3). The same .NET version targets EXEs that it produces. To run Basic4ppc and/or produced EXEs under .NET 2.0 (especially when they are using .NET 2.0 DLLs) needs some additional care. Look here http://www.basic4ppc.com/netcf2.html and for additional informatiocn I suggest you to take a look here http://www.pluralsight.com/blogs/jim.../08/17909.aspx Now I'll try to be more specific. adukes, that is why you take an error message when you are trying to open ziptest1.sbp with the .NET 2.0 dzZipLib.dll I've posted at the beginning of this thread. You need a config file. See the first link in this post and download config file for desktop. But I suggest you to use DLLs from the second version I've posted. You loose nothing and you have some benefits (two more functions, PPC compatibility). Louis, for the same reason you need a config file for your device. Download it from the first link. Be careful, what Basic4PPC needs to run under .NET 2.0, needs your compiled application too. A config file. Try to rename dBasic.exe.config or Basic4ppc.exe.config to YourApp.exe.config and put it in the same folder as YourApp.exe. I hope I helped, regards |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Stop Execution of source on PDA | badkarma | Basic4ppc Wishlist | 4 | 04-28-2008 04:00 AM |
| New Listview Library (with source) | Filippo | Additional Libraries | 14 | 09-20-2007 08:29 AM |
| Source Files package? | Rod | Questions & Help Needed | 10 | 08-15-2007 06:12 PM |
| CLI arguments to run source file | LineCutter | Basic4ppc Wishlist | 4 | 06-07-2007 09:40 PM |
| The best folder for your source code | Erel | Code Samples & Tips | 0 | 05-01-2007 08:17 PM |