How to compress and encrypt files in VB6


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 6 of 6

Thread: How to compress and encrypt files in VB6

Hybrid View

  1. #1
    FM Guest

    How to compress and encrypt files in VB6


    Please help - can any one tell me how to compress and encrypt files within
    VB? Thanks.

  2. #2
    Willy Van den Driessche Guest

    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.




  3. #3
    L.J. Johnson Guest

    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>





  4. #4
    Fabio Pagano Guest

    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

  5. #5
    Daniel Meyer Guest

    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.



  6. #6
    karnavar Guest

    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center