Hi all,
I'm trying to populate a combo box from a text file I created in Resources. I know how to populate from a text file using StreamReader but not sure how to do it using a resource file. This is how I do it with the StreamReader...
I did a google search but they all tell how to populate using my example above. Thanks for any help.
I'm trying to populate a combo box from a text file I created in Resources. I know how to populate from a text file using StreamReader but not sure how to do it using a resource file. This is how I do it with the StreamReader...
Dim appPath As String = Application.StartupPath() r = New IO.StreamReader(appPath & "Bodyparts.txt") While (r.Peek() > -1) BPcmb.Items.Add(r.ReadLine) End While r.Close()
I did a google search but they all tell how to populate using my example above. Thanks for any help.