I can't figure out how to access the text file that I added to the project as a resource file. I want a list of words to be part of the .exe file, not contained in a separate .txt file on the hard drive.
What do I need to change?
vbcode Code:
Dim reader1 As New System.IO.StreamReader("c:\1.txt") For i As Integer = 0 To 25 BlanksOne(i) = reader1.ReadLine() Next i




Reply With Quote