EldoS
 Table of Contents >  How to ... (basic questions) >  Open a storage
Navigation
Web site
Support
Table Of Contents
Send comments on this topic

Open a storage

There exist two ways to open an existing storage:

  1. The first way lets you setup various event handlers and properties before opening the storage. To open the storage
    1. Create an instance of SolFSStorage class using it's Constructor.
    2. Set FileName property. Optionally set other properties like storage password etc.
    3. Call Open() method of SolFSStorage class and pass somOpenExisting value as a parameter.
  2. The second way lets you do everything with one call. Create an instance of SolFSStorage class using it's Constructor. This constructor doesn't let you specify the password for encrypted storage, though.

After you have opened the storage, it's good idea to ensure that it doesn't require checking and reparing procedure. To do this, check IsCorrupted property of SolFSStorage class. If IsCorrupted is true, call CheckAndRepair() method of SolFSStorage class to repair the storage integrity.

Contact Us | Subscribe | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2008, EldoS Corporation