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. C#
  4. Embedding a word document in C#

Embedding a word document in C#

Scheduled Pinned Locked Moved C#
csharptutorialquestion
3 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.
  • S Offline
    S Offline
    scchan1984
    wrote on last edited by
    #1

    Hi, Is it possible to to embed a word document in a C# form view? Like the internet explorer, when we visit a URL of a word document, the document will be opened in the browser instead of launching a stand alone MS Word. If yes, how to do so? Thanks

    D 2 Replies Last reply
    0
    • S scchan1984

      Hi, Is it possible to to embed a word document in a C# form view? Like the internet explorer, when we visit a URL of a word document, the document will be opened in the browser instead of launching a stand alone MS Word. If yes, how to do so? Thanks

      D Offline
      D Offline
      Dan Neely
      wrote on last edited by
      #2

      This article might be of use since one of the example screenshots shows a worddoc embedded in a browser control, but because of it's length I haven't read it. http://www.codeproject.com/books/0764549146\_8.asp?

      1 Reply Last reply
      0
      • S scchan1984

        Hi, Is it possible to to embed a word document in a C# form view? Like the internet explorer, when we visit a URL of a word document, the document will be opened in the browser instead of launching a stand alone MS Word. If yes, how to do so? Thanks

        D Offline
        D Offline
        Dan Neely
        wrote on last edited by
        #3

        Also look at this, unlike the monster I linked earlier it's very strait forward copy/paste exercise. IT gives everything except the menus which apparently aren't supported by the control. If you find a way to get them working, please post something here, or otherwise let me know since I'm looking into embedding office components as well. (primarily excel since a richedit control would do for what i need with text, but adding all the needed functions from excell into a datagrid would really suck) http://support.microsoft.com/default.aspx?scid=kb;en-us;304662 EDIT: I'd think/hope there's a way to do it, since if you drag/drop office files into IE itself the proper menus are loaded but there doesn't appear to be one.

        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