Auto populate a word document with Visual studio 2003
-
Auto populate a word document with Visual studio 2003 I am using Visual studio 2003 MSSQL Server 2003 I would like to know if there are any articles out there that shows 1. how to auto populate a word document with db fields such as Last name, first name, phone 2. How to view the document on the web page 3. Print the document from the web page
-
Auto populate a word document with Visual studio 2003 I am using Visual studio 2003 MSSQL Server 2003 I would like to know if there are any articles out there that shows 1. how to auto populate a word document with db fields such as Last name, first name, phone 2. How to view the document on the web page 3. Print the document from the web page
This is what you need... http://msdn2.microsoft.com/en-us/library/5s12ew2x(en-US,VS.80).aspx[^] - or - If you have Office 2003 installed, do this: 1. Add Remove Programs -> MS Office -> Change 2. Click on "Add Remove Features" 3. Click Next 4. Check the box next to "Choose Advanced Customization of Applications" 5. Expand each Tree Node next to the application you want and make sure ".NET Programibility Support" is included in your installed components. This will install the "Office 2003 Primary Interop Assemblies" Access, Word, Excel, Outlook, Powerpoint and Publisher all have exposed assemblies. (I just did a lot of work with this for an Outlook project I did) Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often). -- modified at 12:53 Friday 27th January, 2006
-
This is what you need... http://msdn2.microsoft.com/en-us/library/5s12ew2x(en-US,VS.80).aspx[^] - or - If you have Office 2003 installed, do this: 1. Add Remove Programs -> MS Office -> Change 2. Click on "Add Remove Features" 3. Click Next 4. Check the box next to "Choose Advanced Customization of Applications" 5. Expand each Tree Node next to the application you want and make sure ".NET Programibility Support" is included in your installed components. This will install the "Office 2003 Primary Interop Assemblies" Access, Word, Excel, Outlook, Powerpoint and Publisher all have exposed assemblies. (I just did a lot of work with this for an Outlook project I did) Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often). -- modified at 12:53 Friday 27th January, 2006
Thanks I did as you said. Now I have done above do you know of any paper or tutorial that will explain how to autopopulate the word document and view it with the web page?
-
Thanks I did as you said. Now I have done above do you know of any paper or tutorial that will explain how to autopopulate the word document and view it with the web page?
Did you look at the webpage, it has all the info you need. This link takes you to some basic examples of using word documents. http://msdn2.microsoft.com/en-us/library/78whx7s6.aspx[^] Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).
-
Did you look at the webpage, it has all the info you need. This link takes you to some basic examples of using word documents. http://msdn2.microsoft.com/en-us/library/78whx7s6.aspx[^] Matthew Hazlett Sometimes I miss the simpler DOS days of Borland Turbo Pascal (but not very often).
Thanks, I will go there now