Host usercontrols in ie

  • Thread starter Matthias Pieroth
  • Start date
M

Matthias Pieroth

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
 
B

Ben Rush

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?
 

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

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top