Project Resource (Resx) Version:
With this version you will find it easier to work with your example!
- Right click on your project
- Select "Properties"
- Go to resources section
- , .
- "" DropDown.
- " ".
- " ".

- ...
Dim content As String = My.Resources.mytextfile
. , !
:

, (), () " ". , .
- . ( , ) Application.GetContentStream(uri). , AssemblyAssociatedContentFile , VS , ""
- : .
; fooobar.com/questions/12410/...
Embedded Resource, , :
Dim executing_assembly As System.Reflection.Assembly = _
Me.GetType.Assembly.GetEntryAssembly()
' Get our namespace.
Dim my_namespace As String = _
executing_assembly.GetName().Name.ToString()
' Load a text file.
Dim text_stream As Stream = _
executing_assembly.GetManifestResourceStream(my_namespace _
+ ".text1.txt")
If Not (text_stream Is Nothing) Then
Dim stream_reader As New StreamReader(text_stream)
Label1.Text = stream_reader.ReadToEnd()
stream_reader.Close()
End If
: http://www.vb-helper.com/howto_net_embedded_resources.html