IE hosted windows user controls causes IE to crash



Hello,
after having installed the Internet Explorer Update KB912812 I am
experiencing trouble with our Windows User Controls, which are hosted
in Internet Explorer (6) through ASP.NET application. The IE simply
closes, without any message, whenever trying to navigate to a page that
holds any Windows User Control. I succeeded to debug the code (only the
User Control constructor) and the exception I receive is a native
"Failed to create window handle" exception.

To check the behaviour with a different project, I downloaded an
example from the net and it worked fine. So far, so good. Strangely, if
I put the <OBJECT> tag in the HTML that is used with our components,
the example code also crashes the IE. If I put the <OBJECT> tag at the
end of the HTML file, everything works fine again, the example as well
as our custom user control.

I also tries the advises that Microsoft gives about instanciating
ActiveX controls, but the behaviour is the same.

Any ideas on how to solve that one?

Kind regards
Meik

.



Relevant Pages

  • Re: UserControl with Gridview: Set DataSource: NullReferenceException
    ... i guess you tried to create a user control as you do in windows ... webuser controls are different from windows user controls. ... though you assign datatable value to the datagrid datasource, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Direct3D and Unmanaged Host
    ... a C# User Control is an ASP.Net UI element that renders HTML. ... we ARE talking about DirectX here). ... > .NET dll is then run inside Internet Explorer (the unmanaged host). ...
    (microsoft.public.win32.programmer.directx.managed)
  • How to fire Javascript events from a .NET winforms user control back to Javascript in IE
    ... ..NET user controls within web pages in Internet Explorer, ... find out how to make the user control communicate back to the webpage ... digging around and found out that I needed to implement a COM interface ...
    (microsoft.public.dotnet.general)
  • Re: Message Loop / User Control
    ... > I am working with a User Control which is hosted in Internet Explorer. ... Microsoft .NET MVP ...
    (microsoft.public.dotnet.framework.windowsforms)
  • C# activeX into Internet Explorer Call Unmanaged DLL
    ... I created a user control using C# and .Net 1.1 to run as an ActiveX ... into Internet Explorer. ... When the user open the web page Internet Explorer download and ...
    (microsoft.public.dotnet.framework.interop)

Loading