I’m using the following code to open a Word document then save it. The file that gets saved is corrupt. I can provide a copy of the source document.
string path = @"c:\data\";
LoadFormat fileFormat = Document.DetectFileFormat(path + "test.doc");
Response.Write(fileFormat.ToString());
Document doc = new Document(path + "test.doc");
doc.Save(path + "aspose.doc");
This message was posted using Aspose.Live 2 Forum