Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

anyone know how i can zip a file in vb6

  • 04-09-2007 4:04pm
    #1
    Closed Accounts Posts: 426 ✭✭


    anyone know how i can zip a file in vb6


Comments

  • Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭Khannie


    You'll need a library that supports zip compression.


  • Closed Accounts Posts: 82 ✭✭cyberbob


    or (maybe awkward (but simple) way to do this) , install the version of winzip which supports command line running, and just do shell("winzip ....." )


  • Registered Users, Registered Users 2 Posts: 15,443 ✭✭✭✭bonkey


    A google on "vb6 zip" should give you everything you need.


  • Registered Users, Registered Users 2 Posts: 169 ✭✭DonnieBrasco


    cyberbob wrote:
    or (maybe awkward (but simple) way to do this) , install the version of winzip which supports command line running, and just do shell("winzip ....." )

    yeah, try download PKZIP... then you can just shell out the command

    pkzip TargetFileName PathOfStuffToBeZipped

    pkzip c:\MyCompressed.zip c:\stuff\docs\*.doc


  • Registered Users, Registered Users 2 Posts: 7,468 ✭✭✭Evil Phil


    Doesn't windows have a native zip feature? You could try look for the API calls to use that.


  • Advertisement
Advertisement