title: using my own config file in my application
body: <p>As a practice exercise at my college we have to make a simple room booking system, complete with its own config file. We're not allowed to use the one built into VB.NET (the professor wants us to adapt to not relying on things like that) so I've made my own. This is a sample:</p>
  
  <pre><code>// Config file.
  // First column is the variable name that will be used to
  // reference the value in the second column. Seperate each
  // setting with a new line.
  
  MasterUser  Chris
  
  DatabasePath    C:\Users\Chris\Desktop\Project.mdb
  </code></pre>
  
  <p>Comments in the file are pretty self-explanatory. I can parse the file fine, but what I'm having trouble with is making a variable the same name as whats in the first column. For example I need to make a variable called MasterUser and one called DatabasePath that holds <code>Chris</code> and <code>C:\Users\Chris\Desktop\Project.mdb</code> as values respectively. But I have no idea how to make a variable called that.</p>
  
  <p>Any help would be cool, thanks. :)</p>
  
  <p><strong>EDIT:</strong> You can't see it from the code view here, but the variable name and value in the config file are separated by a tab :)</p>