How to create a Word document from a Silverlight 4 application

Posted by George Durzi on Stack Overflow See other posts from Stack Overflow or by George Durzi
Published on 2010-04-16T12:53:24Z Indexed on 2010/04/16 14:53 UTC
Read the original article Hit count: 560

Filed under:
|
|

I'm looking for some options to programmatically create a Word document from within a Silverlight 4 application. I found two approaches which seemed promising at first but don't look like they will work.

OpenXML SDK The OpenXML SDK isn't available for Silverlight at this time.

Word Automation via COM Interop

dynamic wordApplication = AutomationFactory.CreateObject("Word.Application");

Apparently this requires that the Silverlight 4 application be granted permission to run with elevated privileges, which is only available for out-of-browser applications (which ours isn't)

My other thought is to hand off the request to a back-end service which doesn't have these limitations. Wanted to check for any ideas before going down that path.

Thank you!

© Stack Overflow or respective owner

Related posts about silverlight-4.0

Related posts about com