Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Gzip Compression in VBScript?

Gzip Compression in VBScript?

Scheduled Pinned Locked Moved Web Development
tutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 2322509
    wrote on last edited by
    #1

    can anybody give me idea how to use MS GZIP.dll and write code to compress files? Thanks

    T 1 Reply Last reply
    0
    • U User 2322509

      can anybody give me idea how to use MS GZIP.dll and write code to compress files? Thanks

      T Offline
      T Offline
      tech603
      wrote on last edited by
      #2

      I found this very helpful when coding a project that also needed compression capabilities. It works great, just add a reference the dll file and follow there examples and this should do what you need it to do. http://www.codeplex.com/DotNetZip[^] Here is a quick example: Public Sub createZip() Dim strMsg As String = "Please run the tests before using this feature." Dim file = "results.zip" Try 'Create Zip File Using zip As ZipFile = New ZipFile("results-" & ID & ".zip") zip.AddDirectory(ZipPath, "results") zip.Save() End Using Catch ex1 As Exception MessageBox.Show(ex1.ToString, "Program Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) End Try End Sub hope this helps Matthew Vass QA Analyst mvass@hostmysite.com http://www.hostmysite.com?utm_source=bb[^]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups