How to open the word document into richtextbox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Manikgisl
    New Member
    • Oct 2008
    • 37

    #1

    How to open the word document into richtextbox

    HI,

    How to open the word document into richtextbox .The word document contians text and images ......

    Can any one provide solution for this ...


    Regards,

    Mani
  • MrMancunian
    Recognized Expert Contributor
    • Jul 2008
    • 569

    #2
    Come on, you can find this yourself!

    http://msdn.microsoft.com/en-us/libr...chtextbox.aspx

    Steven

    Comment

    • Monomachus
      Recognized Expert New Member
      • Apr 2008
      • 127

      #3
      Originally posted by Manikgisl
      HI,

      How to open the word document into richtextbox .The word document contians text and images ......

      Can any one provide solution for this ...


      Regards,

      Mani
      First take a look at Office Primary Interop Assemblies

      Here you should find how to use Office Interop to interact with Microsoft Office Documents.

      You could also read the disscusion about the same topic here

      And please before posting the question search with a search engine as it is Google or Bing.

      Comment

      • Manikgisl
        New Member
        • Oct 2008
        • 37

        #4
        Originally posted by Monomachus
        First take a look at Office Primary Interop Assemblies

        Here you should find how to use Office Interop to interact with Microsoft Office Documents.

        You could also read the disscusion about the same topic here

        And please before posting the question search with a search engine as it is Google or Bing.
        hi Monomachus

        I had searched in web and able to open a word document ( that contians text only) in Rich textbox.

        But i need to open the word document that contians Images and text .

        I hope u understatnd my issue ..

        Can u suggest any solution for this ......

        Comment

        • Manikgisl
          New Member
          • Oct 2008
          • 37

          #5
          Originally posted by MrMancunian
          Come on, you can find this yourself!

          http://msdn.microsoft.com/en-us/libr...chtextbox.aspx

          Steven
          Thank u very much...


          Its opening the .rtf files...


          i need to open the .doc file

          I cant open the .Doc file through that code

          its say "invalid format" as exception

          Comment

          • mayankshri
            New Member
            • Feb 2012
            • 2

            #6
            Hi, I am also searching the same code.
            how to open word file with text,images and bullets in rich text box.
            i am successful to open a word file thorough code in rich text box. but it only for text.
            it doesn't show images and bullets.

            if you have code then please send me
            at my email id-mayankshrivasta va.cs@gmail.com
            Its very urgent for me.

            Thanks in Advance-

            Mayank Shrivastava

            Comment

            • ganesan2510
              New Member
              • Apr 2013
              • 1

              #7
              just convert the Docx file into RTF file and load it.

              while converting it loose any data including Image.

              hope it work.

              Comment

              Working...