-
How to compress and encrypt files in VB6
Please help - can any one tell me how to compress and encrypt files within
VB? Thanks.
-
Re: How to compress and encrypt files in VB6
Of course, you could use API calls for this. But since this is VB, the
easiest solution to me is to use the DynaZip components. They work fine.
Have a look at http://moreinfo.vbonline.com/vbonlin...media/dynazip/
"FM" <fma@burnsmcd.com> wrote in message news:3ad73a72$1@news.devx.com...
>
> Please help - can any one tell me how to compress and encrypt files within
> VB? Thanks.
-
Re: How to compress and encrypt files in VB6
FM,
> Please help - can any one tell me how to compress and encrypt files within
If you are talking about NT 4.0+, you can use the code at
http://gethelp.devx.com/techtips/nt_.../10min0900.asp to
compress files, directories, etc.
If you are talking about W2K+, then you can use the code at
http://gethelp.devx.com/techtips/nt_...0minNT1100.asp
to encrypt (which also does some compression) a file, directory, etc.
However, compression and encryption (under the API for W2K+) are mutually
exclusive.
--
L.J. Johnson, Slightly Tilted Software
Microsoft MVP (Visual Basic)
LJJohnson@SlightlyTiltedSoftware.com or LJJohnson@mvps.org
<http://www.SlightlyTiltedSoftware.com>
Ask The NT Pro at <http://www.devx.com/gethelp>
-
Re: How to compress and encrypt files in VB6
"FM" <fma@burnsmcd.com> wrote:
>
>Please help - can any one tell me how to compress and encrypt files within
>VB? Thanks.
I am using Makecab.exe (ships with VB), and it is ok, though it has a dos-like
interface, but i launch it in background from VB and works really fine, with
many options.
It creates standard cab files, very fast, high compression and cryptable.
For more detailed info look at msdn.microsoft.com/workshop/management/cab/diamond2.asp
-
Re: How to compress and encrypt files in VB6
There is a complete example on the net with VB using CryptoAPI, the API is
implemnted as class. One link is: http://www.freevbcode.com/AuthorInfo.asp?AuthorID=398
For Blowfish-Crypto: http://www.di-mgt.com.au/crypto.html.
There are also a lot of code an the net for compression.
"FM" <fma@burnsmcd.com> wrote:
>
>Please help - can any one tell me how to compress and encrypt files within
>VB? Thanks.
-
Re: How to compress and encrypt files in VB6
Coming to that, Has anyone tried storing Word files (or for that matter any
file) into Oracle database (as LOB ) or something through a VB aplication?
Please give any info on this subject.
"Willy Van den Driessche" <Willy.Van.denDriessche@skynet.be> wrote:
>Of course, you could use API calls for this. But since this is VB, the
>easiest solution to me is to use the DynaZip components. They work fine.
>Have a look at http://moreinfo.vbonline.com/vbonlin...media/dynazip/
>
>"FM" <fma@burnsmcd.com> wrote in message news:3ad73a72$1@news.devx.com...
>>
>> Please help - can any one tell me how to compress and encrypt files within
>> VB? Thanks.
>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks