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. General Programming
  3. C#
  4. Compression in C#

Compression in C#

Scheduled Pinned Locked Moved C#
csharpquestionlounge
4 Posts 4 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.
  • S Offline
    S Offline
    Stephane David
    wrote on last edited by
    #1

    I need to create a "package" including some pictures, sounds, and ini file. My first idea is top compress all of themp into a zip file, change the extension to .app. I would need to do it programatically in C#, and be able to access a given file in the zip. For instance, read only the ini to get some general information, and list the contents of the package, and then open the package when asked. Is it possible?

    D K L 3 Replies Last reply
    0
    • S Stephane David

      I need to create a "package" including some pictures, sounds, and ini file. My first idea is top compress all of themp into a zip file, change the extension to .app. I would need to do it programatically in C#, and be able to access a given file in the zip. For instance, read only the ini to get some general information, and list the contents of the package, and then open the package when asked. Is it possible?

      D Offline
      D Offline
      Daniel Turini
      wrote on last edited by
      #2

      Yes: http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx You can do it on anything you choose - from .bat to .net - A customer

      1 Reply Last reply
      0
      • S Stephane David

        I need to create a "package" including some pictures, sounds, and ini file. My first idea is top compress all of themp into a zip file, change the extension to .app. I would need to do it programatically in C#, and be able to access a given file in the zip. For instance, read only the ini to get some general information, and list the contents of the package, and then open the package when asked. Is it possible?

        K Offline
        K Offline
        Kannan Kalyanaraman
        wrote on last edited by
        #3

        Yes it is possible. Check out this[^] article on msdn. The only problem is when you ship the application you need to ship the vj# redistributable. - Kannan

        1 Reply Last reply
        0
        • S Stephane David

          I need to create a "package" including some pictures, sounds, and ini file. My first idea is top compress all of themp into a zip file, change the extension to .app. I would need to do it programatically in C#, and be able to access a given file in the zip. For instance, read only the ini to get some general information, and list the contents of the package, and then open the package when asked. Is it possible?

          L Offline
          L Offline
          leppie
          wrote on last edited by
          #4

          Look at my Bzlib managed wrapper article right here on CP! leppie::AllocCPArticle("Zee blog");
          Seen on my Campus BBS: Linux is free...coz no-one wants to pay for it.

          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