title: How to read .txt file in Resources
body: <p>Found a question already answering this? Please link it. I've not found anything.</p>
  
  <p>How do I read a <code>.txt</code> file which I've placed into my <code>Resources</code> folder? The following code doesn't seem to find the file, even I know I've put it there. Maybe I'm doing something wrong?</p>
  
  <pre><code>Using textreader As System.IO.TextReader = File.OpenText("Resources/map.txt")
  </code></pre>
  
  <p>This doesn't seem to work. Neither does:</p>
  
  <pre><code>Using textreader As System.IO.TextReader = File.OpenText(My.Resources.Map)
  </code></pre>
  
  <p>(<code>Map</code> is the name I've given it inside Visual Studio).</p>
  
  <p>Alternatively, how would I find the program's <code>Debug/Resources</code> folder within the file system? What method do I use?</p>
  
  <p>Any ideas what I can do to solve this? And when someone is using my program and wants to save the map file, where would be best programming practice to save it? (Since I can't put it in <code>Resources</code> because that's within the <code>.exe</code>). Just C:\Programs\ <code>A new folder just for my program</code>?</p>
  
  <p><em>N.B. VB.NET WinForms</em></p>