I have a doc file with picture and table and want to show it in C# form.开发者_开发知识库 when i load it in richtextbox the table is not showing correctly
how can i solve this problem ?
A real doc file much more than rtf which is the format the richtextbox understands.
IF you really need to display (perhaps edit or convert to PDF...) a doc file then you will need to use some 3rd-party component like Aspose.Words...
Another option - although only for desktop applications and requiring Word to be installed would be to use Office Automation - see
http://msdn.microsoft.com/en-us/library/dd264733.aspx
C# office 2010 automation
http://www.codeproject.com/KB/office/ms_office_automation.aspx
精彩评论