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

anyone know how i can zip a file in vb6

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


    anyone know how i can zip a file in vb6


Comments

  • Moderators, Technology & Internet Moderators Posts: 37,485 Mod ✭✭✭✭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 Posts: 15,443 ✭✭✭✭bonkey


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


  • Registered Users 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 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