Problems with User Controls in IE from the GAC

  • Thread starter Colin Orr via .NET 247
  • Start date
C

Colin Orr via .NET 247

I'm trying to write a WinForms User Control for Internet Explorer that is accessed from the global assembly cache (GAC) on the server.

I've followed the KB article 839300 (http://support.microsoft.com/default.aspx?scid=kb;en-us;839300).

This has got me as far as hosting a strongly named control in IE as long as the UserControl.dll is in the same directory.

I've then tried installing the UserControl in the GAC and removing it from the website directory, however the user control doesn't render. I'm using the following code in my HTML:

<OBJECT id="MyWinControl1" height="200" width="200" classid="http:UserControl.dll#UserControl.UserControl1" VIEWASTEXT>
</OBJECT>

Is there anything else I need to do to locate a UserControl from the GAC?

All the documentation I have found on this says this should be possible, but I can't find any specific walkthroughs or examples.

Thanks in advance,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top