IE ActiveX control hangs in C# app

D

derhally

I currently have the IE ActiveX object embedded inside an application.

I'm running into a problem where when I make the control visible or
have it navigate to a different page, the application hangs. It
doesn't crash, it just sits there as if its deadlocked.

The stack crawl looks like this:

System.Windows.Forms.AxHost.CreateWithoutLicense()
System.Windows.Forms.AxHost.CreateWithLicense(string)
System.Windows.Forms.AxHost.CreateInstance()
System.Windows.Forms.AxHost.GetOcxCreate()
System.Windows.Forms.AxHost.TransitionUpTo(int)
System.Windows.Forms.AxHost.CreateHandle()
System.Windows.Forms.Control.CreateControl(bool)
System.Windows.Forms.Control.CreateControl(bool)
System.Windows.Forms.Control.CreateControl()
System.Windows.Forms.Control.SetVisibleCore(bool)
System.Windows.Forms.Control.set_Visible(bool)
WebWorks.Publish.Controls.PreviewControl.PreviewControl_Load(System.Object,
System.EventArgs)
System.Windows.Forms.UserControl.OnLoad(System.EventArgs)
System.Windows.Forms.UserControl.OnCreateControl()
System.Windows.Forms.Control.CreateControl(bool)
System.Windows.Forms.Control.CreateControl()
System.Windows.Forms.Control.ControlCollection.Add(System.Windows.Forms.Control)

Any feedback would be appreciated:

Zeid
 
A

Alvin Bruney [Microsoft MVP]

it looks like it is getting stuck in the licensing section. you may want to
read up on the licensing requirements before going further

--
Regards
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
 

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

Top