I was trying to display a Word Document into my RitchTextBox but i cant find the correct method to do it.. it work..but it dont keep the correcte format..its all screwup..
Try
Dim FichierCV As String = dsEmp.Tables("Options").Rows(0).Item("opt_cv") & "\" & .Item("emp_cv")
ViewCV.LoadFile(FichierCV, RichTextBoxStreamType.PlainText)
Catch ex As Exception
End Try
thanx

Displaying a Word document into a RitchTextBox
Sean Michael Murphy
thanx.
pdressler
An alternative is the broswer COM control, which you can add to a windows form and use file://xxxxxxxx.doc to load a word doc into your form.
There are probably 3rd party components that would have a control that loads word docs into a windows form, but the base RTF control is not the best solution. It will never look exactly like the original Word document.
Terry Rueter
The webbrowser control is the same display mechanism that Internet Explorer uses.
Notice that IE can open all sort of documents - pdf, rtf, word docs etc. - You don't need any third party control. MS let you use their browser control.
What I would suggest is using google to search for the webbrowser control (note spelling).
I think its COM name is SHDocVw.dll as I recall. This should get you started -
http://www.codeproject.com/csharp/webbrowser.asp
Hope that helps