Facebook
Welcome to Techsapphire

worpad using .net

Reading Doc and Docx using .Net

Reading Doc and Docx using .Net There is no open source doc and docx reader. So you could use richtextbix for reading doc and docx reader. Code for reading doc and docx file:             RichTextBoxPrintCtrl1.Text = “”             Try             Dim wd As New Word.Application             With wd                 .Documents.Open(Path)                 .Selection.WholeStory()                 .Selection.Copy()                 RichTextBoxPrintCtrl1.Paste()                 .Quit()             End With             wd = Nothing Catch […]