Wednesday, July 29, 2009

.NET Questions - .NET SDK for IE7?

.NET Questions - .NET SDK for IE7?: ".NET SDK for IE7?
Is there a .NET SDK for IE7? Specifically, is it possible to use C# to create an add-in for IE7?

Thank you.
Programming IE7
Wednesday, April 16, 2008

Deleting … Approving …

No .NET specific SDK, but yes, you can write Add-ons using .NET/C#. You will have to use Interop to communicate with IE7 COM interfaces, but it isn't too difficuly.

Google: 'browser helper object' c#

Wednesday, April 16, 2008

Deleting … Approving …

This is totally discouraged by Microsoft. Use C++/ATL instead.
Rafa Vargas [Recognized User] Send private email
Wednesday, April 16, 2008

Deleting … Approving …

In general, using .NET to write addins for unmanaged apps is frowned upon, particularly on shared system stuff like the windows shell, installer, and IE.

The problem is that you're only allowed one CLR in the process, and the first addin that gets loaded chooses which CLR that is. So if the first addin needs .NET 1.1, and the second one needs .NET 3.5, the second one is screwed. But if you load them in the reverse order, it'll work - until the 1.1 addin does something that's no longer supported on 3.5. Ouch.

Office and Visual Studio do a lot of internal backflips to address this problem, so you can write managed addins for those apps.
Chris Tavares Send private email
Thursday, April 17, 2008

Deleting … Approving …"