It seems to me like you need an embedded resurce. Add the file to the
solution and set it's build action to embedded resource.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"amccool" <am*****@pcts.com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
Hi,
I'm looking for something to read a text file into a string at compile
time. I swear I've seen something along these lines.
TIA,
Alex