Hi all,
I am using following code to display word file in text box
Dim wordApp As New Word.ApplicationClass()
Dim nullobj As Object = System.Reflection.Missing.Value
Dim doc As Word.Document = wordApp.Documents.Open(Session("resumepath"))
Dim doc1 As Word.Document = wordApp.ActiveDocument
Dim m_Content As String = doc1.Content.Text
txtresume.Text = m_Content
txtresume.Text = doc1.Content.Text
doc.Close()
wordApp.Quit()
But
, the problem is ,even the bold contents in the word file appear as
normal text in text box . I want the content in the word file to appear
as it is in text box . how can i do this ???...
( I have set the READONLY property of textbox as true so the textbox doesn't appear purely white ...how to avoid this also ?)
Thanks...