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. Visual Basic
  4. Multiple Configuration Files In One Application

Multiple Configuration Files In One Application

Scheduled Pinned Locked Moved Visual Basic
xmlquestionworkspace
2 Posts 2 Posters 1 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.
  • K Offline
    K Offline
    KenBonny
    wrote on last edited by
    #1

    In my application, I need to address multiple configuration files. This is because different people will supply a configuration file and the application should process the information inside. The layout of each configuration file looks like this:

    Is there an easy way to keep track of several .config files and can I read those using the configuration manager? Or should I write a class to read several .xml files with said format?

    M 1 Reply Last reply
    0
    • K KenBonny

      In my application, I need to address multiple configuration files. This is because different people will supply a configuration file and the application should process the information inside. The layout of each configuration file looks like this:

      Is there an easy way to keep track of several .config files and can I read those using the configuration manager? Or should I write a class to read several .xml files with said format?

      M Offline
      M Offline
      Mehdi Gholam
      wrote on last edited by
      #2

      It's probably better to create a class which will isolate you from the storage mechanism in the long run as you might have to switch out the xml to a database if your users grow, or you have to add backup logic etc. This will all depend on how you see the usage growing. You can also use a Key/Value store like RaptorDB to store the information which is scalable.

      Its the man, not the machine - Chuck Yeager If at first you don't succeed... get a better publicist

      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