开发者

How to read rtf attached to the document to RichTextBox?

I attached rtf docum开发者_StackOverflowent to my app, and I want its content to be display in RichTextBox, I know how to do that with rtf file from disk, but I can't access file in project.


If you added the rtf file as "Embedded Resource" in your project use GetManifestResourceStream etc functions on the executing assembly. Check out a sample here : http://lamahashim.blogspot.com/2009/06/c-reading-embedded-files-at-runtime.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜