I need to display a word document in a rich text box however when i run the below code with the attached CV it works but appears all scrambled.
Dim l As New Aspose.Words.License
l.SetLicense("Aspose.Words.lic")
Dim doc As New Aspose.Words.Document(dlgOpen.FileName)
Dim fs As New IO.MemoryStream
doc.Save(fs, Aspose.Words.SaveFormat.Rtf)
fs.Seek(0, IO.SeekOrigin.Begin)
RichTextBox1.LoadFile(fs, RichTextBoxStreamType.RichText)
fs.Close()
Thank you