Hi,
I'm evaluating Aspose.Word, I'm trying to save a word document to pdf but when I open the pdf file I get error 110 from Adobe Reader (version 6).
I'm using the following code in an ASP.NET project:
Imports System
Imports System.IO
Imports System.Xml
Imports System.Data
Imports Aspose.Word
Public Class Demo
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim doc As Document
doc = New Document(Server.MapPath("test.doc"))
doc.Save(Server.MapPath("tmp/test.xml"), SaveFormat.FormatAsposePdf)
Dim pdf As Aspose.Pdf.Pdf = New Aspose.Pdf.Pdf
pdf.BindXML(Server.MapPath("test.xml"), Nothing)
'Instruct to delete temporary image files.
pdf.IsImagesInXmlDeleteNeeded = True
'Produce the PDF file.
pdf.Save(Server.MapPath("test.pdf"))
End Sub
End Class
I'm sending You the doc file and the files produced from the code (xml and pdf).
Can anybody tell me what is going wrong ?
Thank You