all groups > dotnet windows forms > july 2004 >
You're in the

dotnet windows forms

group:

Host usercontrols in ie


Host usercontrols in ie Matthias Pieroth
7/7/2004 10:35:57 PM
dotnet windows forms:
Hi NG,

I have a usercontrol that I host in IE in a html-Page. I placed it via the
object-Tag.

<object id="TestCtrl1" height="100" width="500"
classid="TestCtrl.dll#TestCtrl.TestCtrl">

</object>

That works great. But now my UserControl needs an activex control. So I
added it to the usercontrol and the Interop-Wrapper-dlls are created. How
can I tell the OBJECT-Tag that the UserControl needs this Interop-dlls?

Thanx

Matthias

Re: Host usercontrols in ie Ben Rush
7/12/2004 11:13:19 AM
Matthias,

it's my understanding that this isn't necessary. The framework should be
able to load those interop assemblies correctly. I presume you have them
located in the same folder as your main assembly, or at least have a .config
file pointing to their location?


[quoted text, click to view]

AddThis Social Bookmark Button