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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. loading a word document in VB.Net2005

loading a word document in VB.Net2005

Scheduled Pinned Locked Moved Visual Basic
csharpcomhelpquestion
4 Posts 3 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.
  • D Offline
    D Offline
    DarynRoberts
    wrote on last edited by
    #1

    Hey everybody, I was hoping someone could help us upload a word document from (anywhere on the PC) into the windwordcontrol on the form. This is our first time integrating office and so our knowledge is very limited. We have gotten as far as adding the winwordcontrol to the toolbox, and adding a reference to the word object in the COM tab. I also read "Integrating Microsoft Word in your .NET applications" by Anup Shinde on the codeproject, but I dont seem to understand. Perhaps its because its in ASP syntax- or else its just me. ;) Can anyone help? or provide a url to another article which may help? thanks dazz

    Dazz

    A 1 Reply Last reply
    0
    • D DarynRoberts

      Hey everybody, I was hoping someone could help us upload a word document from (anywhere on the PC) into the windwordcontrol on the form. This is our first time integrating office and so our knowledge is very limited. We have gotten as far as adding the winwordcontrol to the toolbox, and adding a reference to the word object in the COM tab. I also read "Integrating Microsoft Word in your .NET applications" by Anup Shinde on the codeproject, but I dont seem to understand. Perhaps its because its in ASP syntax- or else its just me. ;) Can anyone help? or provide a url to another article which may help? thanks dazz

      Dazz

      A Offline
      A Offline
      Ajai Chaudhary
      wrote on last edited by
      #2

      hi if you only want to see the word document then do the following: - * Insert a richtextcontrol on to the form. * use the loadfile method for richtextbox and pass the file name with full path to load it into control. if you want to do somthing else then plz reply i will give you the solution... with regards Yogesh Agarwal

      D A 2 Replies Last reply
      0
      • A Ajai Chaudhary

        hi if you only want to see the word document then do the following: - * Insert a richtextcontrol on to the form. * use the loadfile method for richtextbox and pass the file name with full path to load it into control. if you want to do somthing else then plz reply i will give you the solution... with regards Yogesh Agarwal

        D Offline
        D Offline
        DarynRoberts
        wrote on last edited by
        #3

        Thanks Yogesh...That worked. Could you also tell me how we create a new word document in VB which can then be saved somewhere on the pc? thanks again

        Dazz

        1 Reply Last reply
        0
        • A Ajai Chaudhary

          hi if you only want to see the word document then do the following: - * Insert a richtextcontrol on to the form. * use the loadfile method for richtextbox and pass the file name with full path to load it into control. if you want to do somthing else then plz reply i will give you the solution... with regards Yogesh Agarwal

          A Offline
          A Offline
          aswinanu
          wrote on last edited by
          #4

          i want to save the file with the path displayed in the text box

          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