Dim DocPath As String = Me.Page.Request.QueryString("PathFile")
Dim Document As Aspose.Words.Document = New Document(DocPath) ' a word document with table and images
I have problems with converting a .doc to html. I use the following code:-
Document.MailMerge.Execute(MyRow) ' fill the original word doc with data
DocPath = Left(DocPath, DocPath.Length - 4) ' ' strip the extension
DocPath = DocPath + ".htm" 'add an extension
Document.Save(DocPath, SaveFormat.FormatHtml)
email.AddAttachment(DocPath)
' sent it
The received document does not contain images! the html file even does not refer to them. See attachment.
The manual of aspose words says that the included pictures are saved in the same directory as the original document. But when inspecting that directory there are no pictures at all. this directory is created by an asp.net program. Networkservice has full rights.
Pls advice .