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. using excel in C#

using excel in C#

Scheduled Pinned Locked Moved C#
csharpcomquestion
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.
  • Z Offline
    Z Offline
    zhyluo2003
    wrote on last edited by
    #1

    if my C# application have a webbrowser to open/operate an excel file. When I deliver the application to the user, must the user's computer has excel installled? It seems that all the office object are COM based not within the .NetFramework. any idea? thanks. :):)

    M J 2 Replies Last reply
    0
    • Z zhyluo2003

      if my C# application have a webbrowser to open/operate an excel file. When I deliver the application to the user, must the user's computer has excel installled? It seems that all the office object are COM based not within the .NetFramework. any idea? thanks. :):)

      M Offline
      M Offline
      Michael P Butler
      wrote on last edited by
      #2

      The .NET classes for Office are just wrappers around the COM automation interface. That means if you want your users to have Excel functionality, then they'll need Excel. There is no way around this. Michael 'War is at best barbarism...Its glory is all moonshine. It is only those who have neither fired a shot nor heard the shrieks and groans of the wounded who cry aloud for blood, more vengeance, more desolation. War is hell.' - General William Sherman, 1879

      1 Reply Last reply
      0
      • Z zhyluo2003

        if my C# application have a webbrowser to open/operate an excel file. When I deliver the application to the user, must the user's computer has excel installled? It seems that all the office object are COM based not within the .NetFramework. any idea? thanks. :):)

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

        If you create a setup routine with .net it will see that there is a reference to excel and add a own excel.exe into the needed files for the installation!

        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