Catching HTML errors in embedded IE ActiveX control

S

Shy

I've created an application in which I'm using the IE ActiveX inside my
own user control. The problem is that the IE sometimes throws an HTML
error "error on page..." in a modal message box. That box sometimes
gets hidden for some reason I have yet to find and then the entire
applicaton is unresponsive.
I checked all the events I can get of the ActiveX and there was nothing
I could find to help me handle the error myself.
What I would like to know is if there is some way in which I can
prevent those error messages other than reconfiguring the IE on my
machine.
Thanks
Shy Alon
 
N

Nicholas Paldino [.NET/C# MVP]

Shy,

You can set the Silent property of the control to true, and it will
prevent dialog boxes from being shown.

Hope this helps.
 
S

Shy

Thank you Nicholas for your reply.
I fear that setting the Silent property true only made it worse. Now
the application invokes the visual studio just in time debugger.
 

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