Sunday, July 7, 2013

Connect C#.Net 2010 with Microsoft Word document(Simple idea )

This is an simple idea to connect these two


you can use Open XML SDK,


here u have sample, there is enough samples in SDK as well, 

http://msdn.microsoft.com/en-us/library/office/ff478255.aspx

and also you can use MS Office binaries, but it popup splash screen some apps (I saw in Visio not in Word), what Microsoft saying is Microsoft Office is a User Interactive solution and it is not recommend for your back-end stuff. 

So I used OpenXML for mail merge and some other but you have to use Office 2007 + for it.

No comments:

Post a Comment