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. vb code

vb code

Scheduled Pinned Locked Moved Visual Basic
3 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.
  • N Offline
    N Offline
    nazerudeen
    wrote on last edited by
    #1

    vb code to display ms word document in a richtextbox n

    D J 2 Replies Last reply
    0
    • N nazerudeen

      vb code to display ms word document in a richtextbox n

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      You can only do that if the Word document you are talking about is saved in .RTF format. If it's still in it's .DOC format, the RichTextBox will not display it properly. In that case, you'll have to either Shell launch the document so Word will open a display it or use the Word Object Library to open the document and display it. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      1 Reply Last reply
      0
      • N nazerudeen

        vb code to display ms word document in a richtextbox n

        J Offline
        J Offline
        jonathan15
        wrote on last edited by
        #3

        If you are using VB6 you can use the web browser control instead of rich text box. This will display it as a word doc and even allow edits\saves etc. Dont know if VB.net does this though. Jon

        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