471,317 Members | 1,833 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Question on running Excel when multiple vers of Excel are installe


Lets say I built my app on a machine that has Excel 2003 installed. So, the
interop assembly created was built off of 2003.

Now, I have a few questions on what would happen if I ran the following code
on a machine that had, lets say, both Excel 2000 and Excel 2003 installed.

using Microsoft.Office.Interop.Excel;
ApplicationClass app = new ApplicationClass();

1. If the user has both Excel 2000 and Excel 2003 installed, which one will
be started? Will it always start the latest version?

2. If no Excel is installed at all, would app be null after the call to new
ApplicationClass() or would that call not even be able to run?

Jan 30 '06 #1
0 935

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

18 posts views Thread by Andre Laplume via AccessMonster.com | last post: by
reply views Thread by Christopher | last post: by
1 post views Thread by SHANE CLARK | last post: by
6 posts views Thread by Gunawan | last post: by
5 posts views Thread by klfhall | last post: by
reply views Thread by rosydwin | last post: by

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.