|
Question : Importing text file into resources
|
|
What I'm looking to do is to import a text file (and an XML file) into the resources of my project. Do I do this the same way I would a gif image? Once I have imported the file how do I read from and write to it?
|
|
Answer : Importing text file into resources
|
|
1) Show all files from Solution Explorer
2) Open Resources.resx.
3) Add Resource | Add Existing File...
4) Read value: Dim test As String = My.Resources.ResourceManager.GetObject("Test")
5) I don't think that you can write to the file.
Bob
|
|
|