[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Connect to excel-spreadsheet using .net odbc/oledb without ms-excel installed

Posted on 2015-01-05
5
Medium Priority
?
233 Views
Last Modified: 2015-01-05
i have an excel spreadsheet - myfile.xls

I have a windows 2008 server(mywin2008server) . It does not have ms-office installed on it.

I wrote a .net application(mydotnetapp.exe)  in c# that connects to myfile.xls (using odbc or oledb ) and reads that file.

I want to run mydotnetapp.exe app on mywin2008server. But since it does not have ms-office or ms-excel installed, mydotnetapp.exe cannot not connect to myfile.xls

Is it possible to connect to myfile.xls even if ms-excel is not installed on that server?


pl guide  

thanks
0
Comment
Question by:ts84zs
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 22

Accepted Solution

by:
plusone3055 earned 2000 total points
ID: 40531579
been through the EXACT same issue myself on more than one occasion. There are products that you can buy..  or SDK's you can  write off of  that are extremely time consuming and costly. After you go through all the pain and suffering of coding them and THEN altering your own code to make sure it still works you will find that instead of wasting all that time you convince the company to install another instance of MS Excel on the machine for $90.

I cannot post the links to the SDK's or applications as they are on competing sites which violate the terms of answering questions here.. However  if you insert into google search

.net read excel file without office installed

you will find them

Best of luck :)
0
 

Author Comment

by:ts84zs
ID: 40531594
ok thanks so much for the guidance....
0
 
LVL 22

Expert Comment

by:plusone3055
ID: 40531599
no problem. Sorry that there isn't an 'easy' solution to this. First time I went through this I had written 5000 line Excel reader that was making massive changes to a file based on certain scenarios. then they tell me to place it on a box that had no excel... !!@#$ #$*(#()$*#)($*  

wasted 3 days of my time looking at options.. your time is valuable :)

Please award if its what you needed :)

Happy New year
0
 

Author Comment

by:ts84zs
ID: 40531818
yes... we also decided to put that app on user's desktop.. thanks again for the advice...
0
 
LVL 22

Expert Comment

by:plusone3055
ID: 40531840
no problem
sometimes the path of least resistance does work :)
0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question