What is the difference between adding a reference to Excel 11.0 from .NET vs COM?
(In C# if that even matters)
-Edit-
To clarify,
I am talking about the .NET and COM tabs in the Add Reference dialog, thanks for pointing that out Hans Passant.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I assume you mean the .NET and COM tabs in the Add Reference dialog. There is no difference if your machine is setup properly. Which it is if you see Excel listed in the .NET tab. That means you’ve got the Office PIA installed on your machine, either reference will pick that PIA. That PIA also needs to be installed on the target machine.