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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Open Word Doc in a Windows Form

Thread ID:

Created:

Updated:

Platform:

Replies:

128354 Jan 16,2017 07:04 PM UTC Jan 17,2017 08:14 AM UTC Windows Forms 1
loading
Tags: DocIO
Michael Griffith
Asked On January 16, 2017 07:04 PM UTC

I am seeking a way to op[en an existing Word Template in a Windows Form as part of an application that involves editing multiple documents and converting them to a single PDF. I wouldn't think this would be too much to ask of Microsoft. Is this possible?

Venkatesan Mani [Syncfusion]
Replied On January 17, 2017 08:14 AM UTC

Hi Michael,

Thank you for contacting Syncfusion support,

Regarding viewing/editing word documents:
The WPF SfRichTextBoxAdv control allows you to view, edit, and print rich text contents, and also import and export the Html, Xaml, Text files and Word documents (".doc", ".docx", ".rtf"). You can host the Syncfusion SfRichTextBoxAdv WPF control to your existing Windows Forms application using ElementHost in Windows Forms.

WPF SfRichTextBoxAdv UG link :
https://help.syncfusion.com/wpf/sfrichtextboxadv/overview

Please do refer the below MSDN reference link for more information about hosting a WPF control in Windows Forms application.
http://msdn.microsoft.com/en-us/library/ms742215(v=vs.110).aspx


Regarding converting the word documents into pdf :
Our DocIO library allows you to convert a Word document into PDF with a few lines of code. For more information regarding word document to pdf conversation refer the below link:
https://help.syncfusion.com/file-formats/docio/conversion#converting-word-document-to-pdf


Using our SfRichTextBoxAdv and DocIO library you can view and edit the word documents and export to pdf file. We have prepared a sample to demonstrate the same. Please find the sample from following link.

Sample link:
Sample.zip

Try the running sample and let us know if this helps you.

Regards,
Venkatesan M


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;