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. Web Development
  3. ASP.NET
  4. How to use MS Excel in .net without installing Excel

How to use MS Excel in .net without installing Excel

Scheduled Pinned Locked Moved ASP.NET
questioncsharpsysadmintutorial
4 Posts 4 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.
  • F Offline
    F Offline
    FishiFishi
    wrote on last edited by
    #1

    Hi I'm using MS Excel sheets in my Application, for this purpose MS Excel should be installed at the server. Now I wana use Execl App in my project but without installing the Excel at my machine (server). how can I do this?

    Regards, Qaiser Nadeem

    C S C 3 Replies Last reply
    0
    • F FishiFishi

      Hi I'm using MS Excel sheets in my Application, for this purpose MS Excel should be installed at the server. Now I wana use Execl App in my project but without installing the Excel at my machine (server). how can I do this?

      Regards, Qaiser Nadeem

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      You really can't, unless you fancy writing your own code that understands the full excel file format.

      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      1 Reply Last reply
      0
      • F FishiFishi

        Hi I'm using MS Excel sheets in my Application, for this purpose MS Excel should be installed at the server. Now I wana use Execl App in my project but without installing the Excel at my machine (server). how can I do this?

        Regards, Qaiser Nadeem

        S Offline
        S Offline
        Sandeep Akhare
        wrote on last edited by
        #3

        If you don't have Excel installed in your machine then it would not also be in COM components by using EXCEL COM only you can manipulate Excel. I think its not possible to use without Excel. Whats the problem for installing the excel in your machine ? -- modified at 2:13 Friday 21st September, 2007

        Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

        1 Reply Last reply
        0
        • F FishiFishi

          Hi I'm using MS Excel sheets in my Application, for this purpose MS Excel should be installed at the server. Now I wana use Execl App in my project but without installing the Excel at my machine (server). how can I do this?

          Regards, Qaiser Nadeem

          C Offline
          C Offline
          ChrisKo 0
          wrote on last edited by
          #4

          Actually, you can use Excel files without having Excel installed. You can manipulate it's data through ADO. Now this only allows you to manipulate the data and doesn't allow you to actually automate Excel. Example of how to connect to a Excel file.

          Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Book1.xls;Extended Properties="Excel 8.0;HDR=YES;"

          For more information, check here: http://support.microsoft.com/kb/316934[^]

          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