How to save files in single DAT file in .NET? RRS feed

  • Question

  • Hi,
    Not sure where to put this question.

    I am trying to develop a desktop application in which I need to save some data locally. There will be images and information related to images in xml. There can be 100’s of images and multiple xml files.  These image files are not design time files. These are added by users of application. And that's what I want to save into DAT file.

    1. How can I save all files (images + xml file) into one DAT file (so to speak)?
    2. Could it be possible to save files in different folders inside that DAT file? If yes, how?
    3. If I decide to use Access dbf file instead of xml, can it be saved as part of dbf file?

    Please advice. Thanks
    Thursday, October 15, 2009 5:51 PM


  • I would using an archive format like 7-Zip. 

    • Marked as answer by Figo Fei Monday, October 19, 2009 6:55 AM
    Thursday, October 15, 2009 7:27 PM