Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Auto populate a word document with Visual studio 2003

Auto populate a word document with Visual studio 2003

Scheduled Pinned Locked Moved Visual Basic
csharpdatabasesql-servervisual-studiosysadmin
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kenn_rosie
    wrote on last edited by
    #1

    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

    M 1 Reply Last reply
    0
    • K kenn_rosie

      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

      M Offline
      M Offline
      Matthew Hazlett
      wrote on last edited by
      #2

      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

      K 1 Reply Last reply
      0
      • M Matthew Hazlett

        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

        K Offline
        K Offline
        kenn_rosie
        wrote on last edited by
        #3

        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?

        M 1 Reply Last reply
        0
        • K kenn_rosie

          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?

          M Offline
          M Offline
          Matthew Hazlett
          wrote on last edited by
          #4

          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).

          K 1 Reply Last reply
          0
          • M Matthew Hazlett

            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).

            K Offline
            K Offline
            kenn_rosie
            wrote on last edited by
            #5

            Thanks, I will go there now

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups