[ACXFAQ026]
.Net User Control Hosting an ActiveX component: I receive an exception?


Yes; Netscape and Mozilla have implemented support for hosting ActiveX controls within the web browser.  Netscape 7.1 includes support for ActiveX

 components by default.  However, Mozilla, Firebird, and older versions of Netscape do not .  For security reasons, Netscape 7.1 is preconfigured to only support the Windows Media Player ActiveX control.  All other controls are not authorized to run under Netscape.

Important Note: Currently Netscape/Mozilla/Firebird do not support the Microsoft License Manager component, which is required to support ActiveX LPK license files in a web page.  This means that use of our ActiveX components on a computer will require the installation of our development license on the computer.  This can only be accomplished in an Intranet environment, and only with one of our site licenses.  Hopefully this will be remedied by the Netscape/Mozilla/Firebird developers in the future.  Also see: Mozilla Project and Mozilla ActiveX Project.

To enable ActiveX Hosting in Netscape, Mozilla, or Firebird...

Visual C#


 

private const int WM_SHOWWINDOW = 0x18;

 

  protected override void WndProc(ref Message m)

  {

    if (!axiPlotX1.IsHandleCreated && m.Msg == WM_SHOWWINDOW)

    {

     return;

    }

    base.WndProc(ref m);

}

Additional Information

 


Copyright ©1998-2007 Iocomp Software Incorporated. Iocomp and the Iocomp Logo are registered trademarks of Iocomp Software Inc. All other trademarks are registered by their respective owners.