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_assem bly.GetManifest ResourceStream( my_namespace +
".text1.txt ")
If Not (text_stream Is Nothing) Then
Dim stream_reader As New StreamReader(te xt_stream)
Label1.Text = stream_reader.R eadToEnd()
stream_reader.C lose()
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_assem bly.GetManifest ResourceStream( my_namespace +
".text1.txt ")
If Not (text_stream Is Nothing) Then
Dim stream_reader As New StreamReader(te xt_stream)
Label1.Text = stream_reader.R eadToEnd()
stream_reader.C lose()
End If
Appreciate,
Ed
Comment