473,385 Members | 1,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Easily accessing multiple versions of Excel?

Hello All,

When you use a RCW file (in this case InterOp.Excel.dll) it
uses early binding and is tied to a specific version of Excel.

I have also see technics to use late binding that do not allow
Intellisense with the IDE. And will basically force you to
write your own wrapper around the Excel objects.

Something I am thinking of trying now is to use the RCW
file when coding and shipping multiple InterOp.Excel.dll for
each version of Excel I plan on supporting. From my testing
you should be able to swap the InterOp file and provided
that you used methods and properties that are common to
all versions supported it should work.

Before I get too far, does this sound like it work? I haven't
seen this offered as a suggestion anywhere so am I missing
something?
Nov 20 '05 #1
0 930

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Nick Carter | last post by:
I am automating Excel 2000 using the COM interop. I have noticed that the application doesn't run with Excel 97. I want to write just one piece of code which will work with both Excel 2000 and...
1
by: (Pete Cresswell) | last post by:
I'm debugging an app that has a Reference to Excel 9.0 (i.e. Office 2000's Excel). A guy who is trying to test it for me has Office 2003 (Excel 10? Excel 11?) installed on his PC and the most...
2
by: Kumar | last post by:
Hi Folks, I have a question regarding my windows c# application. This application just reads MS Excel file and puts the data in to sql server database. In that excel file ,it has one named cell...
9
by: Maik | last post by:
Hello, I've developed an assembly, which opens an excel workbook and readout the range names and -values. I'm working with Office XP on my computer. I want to deploy this assembly on computers,...
1
by: sk | last post by:
Please forgive me if the same topic is already posted. But i havent found I have got an error while accessing the excel file as below. Can somebody reply if there is a solution Access is denied....
1
by: Barbara Alderton | last post by:
I’m relatively new to .NET. I would like to write a VB.NET app (I read that using C# isn't as elegant when dealing with Office products) that reads in Excel files (forms) of both 2000 and 2003...
11
by: BrianDH | last post by:
Hi Is there a way, in VB.Net, to write a windows based program that will use more than one version of Office (Excel)? Example: if office 2000 then else if office 2003 then. Is this possible? ...
3
by: Michael Kellogg | last post by:
My application works with Excel to put together spreadsheets for reporting purposes. It runs just fine on my box, but when I put it on another one, it bombs. Here is the relevant code: ...
5
by: Bill Schanks | last post by:
I have a winform app (VB 2005) that allows users to export data to excel, make updates to the excel file and import the data from that Excel file and update the database. My question is: Is it...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.