Host usercontrols in ie

Discussion in 'ASP .Net Web Controls' started by Matthias Pieroth, Jul 7, 2004.

  1. 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
     
    Matthias Pieroth, Jul 7, 2004
    #1
    1. Advertising

  2. Matthias Pieroth

    Ben Rush Guest

    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?


    "Matthias Pieroth" <> wrote in message
    news:cchml6$gb$07$-online.com...
    > 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
    >
    >
     
    Ben Rush, Jul 12, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andreas Klemt
    Replies:
    0
    Views:
    391
    Andreas Klemt
    Jul 8, 2003
  2. Charles A. Lackman

    className Attribute (UserControls)

    Charles A. Lackman, Jul 8, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    420
    Charles A. Lackman
    Jul 8, 2003
  3. Antonio Maciel

    Validator controls and usercontrols

    Antonio Maciel, Jul 9, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    377
    Antonio Maciel
    Jul 9, 2003
  4. Orpheus66
    Replies:
    0
    Views:
    4,442
    Orpheus66
    Jul 30, 2003
  5. Jerry Qu
    Replies:
    1
    Views:
    494
    lee atkinson
    Feb 20, 2009
Loading...

Share This Page