Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I load a rich text file embedded resource into a RichTextBox?

0
Posted

How do I load a rich text file embedded resource into a RichTextBox?

0

You use the LoadFile method of the RichTextBox, passing it a StreamReader based on the resource. So include your RTF file as an embedded resource in your project, say RTFText.rtf.

0

You use the LoadFile method of the RichTextBox, passing it a StreamReader based on the resource. So include your RTF file as an embedded resource in your project, say RTFText.rtf. Then load your RichTextBox with code such as Stream stream = GetType()…

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.