Thursday, March 29, 2012

Opening Word Document and Writing Data

Hi All,
Can anybody tell me how to open a word document and write in it using VB.NET.
Thanks,
Kumar.I assume you want to do this on the server? AFAIK, the only way is to generate a COM wrapper for the Word object model and use COM Automation. I'll include a couple of links below that explain how to do this, but be award that these methods are not recommended because they put a heavy load on the server and do not scale well at all.

HOWTO: Configure Office Applications to Run Under a Specific User Account
(Q288367)


INFO: Considerations for Server-Side Automation of Office

Another option, but one that will require you to purchase a third party component, isSoftware Artisans "Word Writer" or theApose.Word product

0 comments:

Post a Comment