Last post Aug 19, 2008 10:58 AM by Jon11sin
Aug 12, 2008 10:00 PM|Jon11sin|LINK
I have data in a SQL Server Database and I need to retrieve the name of the user and insert it into a word document.
Is this possible?
Aug 13, 2008 12:30 PM|tryingtoohard|LINK
Yes it is possible. First you need to add a word object reference to your project (Microsoft Word 10.0 Object Library). After that you can create an instance of a word apps and start playing with it. The following link might be of help:
Aug 18, 2008 03:43 PM|Jon11sin|LINK
I was able to add the word object reference but everything else isn't being recognized by the intellisense. Which means the web application isn't recognizing the word object reference.
Any help with this.
Aug 19, 2008 10:04 AM|tryingtoohard|LINK
Hi I tried it on my machine and it does bring up intellisense. You need to add COM reference and then access it by using Microsoft.tools.Interop.word and it should start bringin up the intellisense.
Aug 19, 2008 10:58 AM|Jon11sin|LINK
I have tried using "Microsoft.tools.Interop.Word" but it doesn't recognize it. I am using Visual Studios 2005.