Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple versions of Excel
Message
De
14/12/2007 11:11:46
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Divers
Thread ID:
01275556
Message ID:
01275898
Vues:
8
Richard,

We had similar issues with Word, and the problem was solved by compiling/building with the lowest common denominator, in our case Word 2000. However, there is a problem building an app on a machine that has more than one version of Word ... I think it automatically builds with the latest version anyway (which is probably what you're running into with Excel).

But I didn't actually know how different (if at all) it might be for Excel ... so I Googled "Excel versions for COM Interop" and found a good link that might solve your problem:

http://www.devcity.net/Articles/163/1/article.aspx

~~Bonnie




>We have multiple versions of Excel (97-2007) installed for various users. I have 97 and 2003 installed on my development machine. When I deploy the application, users with Excel 97 get a COMException. Is there any way to get VS2005 to go with the Excel 97 for the purposes of Interop? When I referenced Excel I made sure to reference the Excel 8.0 library. Any ideas?
>
>TIA
>Richard
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform