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. Excel Problem

Excel Problem

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

    Hi everyone , i need a way to embed excel sheet in my windows form in C# i need a way to embed it in my application either depending on preinstalled office package or without , i don't care , i just need to show the excel sheet hosted within my windows form application . is there a way ????

    Human knowledge belongs to the world.

    W 1 Reply Last reply
    0
    • S snouto

      Hi everyone , i need a way to embed excel sheet in my windows form in C# i need a way to embed it in my application either depending on preinstalled office package or without , i don't care , i just need to show the excel sheet hosted within my windows form application . is there a way ????

      Human knowledge belongs to the world.

      W Offline
      W Offline
      William Winner
      wrote on last edited by
      #2

      You should look at the Office Web Components. I believe there is an excel worksheet object that can be added to a window's form. See the wikipedia entry: http://en.wikipedia.org/wiki/Office_Web_Components[^]

      S 1 Reply Last reply
      0
      • W William Winner

        You should look at the Office Web Components. I believe there is an excel worksheet object that can be added to a window's form. See the wikipedia entry: http://en.wikipedia.org/wiki/Office_Web_Components[^]

        S Offline
        S Offline
        snouto
        wrote on last edited by
        #3

        First thank you for your honest reply . i have looked at the web page you have sent to me , but they said that the web components are discontinued for office 2007 . any way , i have found a good solution , really amazing solution , it is called DSO Framer ActiveX control from microsoft , it is built using c++ , it is a collection of c++ wrappers that can open any type of office files embedded into your windows application , it is awesome my friend you should look at it . you can go to cnet.com and search for dsoframer , when you download it you will find good samples written in c++ and vb.net that uses that amazing control to host office files , it is really awesome . do you know any way to embed pdf files as well ??? Thank you my friend for your reply

        Human knowledge belongs to the world.

        L 1 Reply Last reply
        0
        • S snouto

          First thank you for your honest reply . i have looked at the web page you have sent to me , but they said that the web components are discontinued for office 2007 . any way , i have found a good solution , really amazing solution , it is called DSO Framer ActiveX control from microsoft , it is built using c++ , it is a collection of c++ wrappers that can open any type of office files embedded into your windows application , it is awesome my friend you should look at it . you can go to cnet.com and search for dsoframer , when you download it you will find good samples written in c++ and vb.net that uses that amazing control to host office files , it is really awesome . do you know any way to embed pdf files as well ??? Thank you my friend for your reply

          Human knowledge belongs to the world.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          snouto wrote:

          do you know any way to embed pdf files as well ???

          You could abuse the WebBrowser control to display the PDF. Should work as long as there's a reader installed :)

          I are Troll :suss:

          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