views:

36

answers:

1

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.

+4  A: 

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.

Hans Passant
Good guess and excellent answer! +1.
David Stratton