E
Ed Bitzer
I posted this on the MS's MSDN forum but found no interest in helping
so returning to my reliables<g>
I have an embedded resourse, a small rtf file, which I would like to
display in a rich text box. The following code places a text file in
a label after getting the assmbly and namespace - is there as the
parallel construciton for the rtf 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
Appreciate,
Ed
so returning to my reliables<g>
I have an embedded resourse, a small rtf file, which I would like to
display in a rich text box. The following code places a text file in
a label after getting the assmbly and namespace - is there as the
parallel construciton for the rtf 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
Appreciate,
Ed