We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

DocIo 5.102.0.51 and Word 2002

Hello. We need some help with DocIo and Word 2002.

We have a VS2008 .NET 3.5 C# web application which exports a mix of text, html, and image content into Word. We are using Syncfusion.DocIO.Base.dll File Version 5.102.0.51

There are two problems with Word 2002, both problems independently verified by three users.

#1, we are using the line of code:

document.Save(strFileName, Syncfusion.DocIO.FormatType.Doc, response, Syncfusion.DocIO.HttpContentDisposition.Attachment);

To send the generated document to the user, where "document" is of type IWordDocument and response is of type HttpResponse.

For users with Office 2007, they get a prompt to download or open the document (see attached DirectlyOpenDocIn2007.jpg).

For users with Office 2002, they get an error (see attached TryingToDirectlyOpenDocIn2002.jpg).

If a user with Office 2007 downloads the document and emails it to a user with 2002, the 2002 user is able to open it, but any content which was inserted as HTML appears as a black box (see DocViewedIn2002.PNG and DocViewedIn2007.jpg). As you see, tables and content inserted as text appears normally.

We are using the following line of code to insert the HTML blocks:

section.InsertHTML(strContent, section.Paragraphs.IndexOf(paragraph));

Where section is of type IWSection and paragraph is of type IWParagraph.

Thanks in advance.



W2002_f4bd16c3.zip

1 Reply

GM Geetha M Syncfusion Team November 5, 2008 10:35 AM UTC

Hi Jason,

Thank you for the details.

Could you please send us the original document and the html content so that it would help us to recreate the problem?

Please let me know if you have any difficulties.

Regards,
Geetha


Loader.
Live Chat Icon For mobile
Up arrow icon