HOW to prevent app from crashing when Shdocvw is corrupted or miss

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi everyone!

I have a WindowsForms application which has a form that loads the Web
Browser control using interop.

Is there any way to prevent the program from crashing when the shdocvw.dll
(installed by IE) is corruputed? Where could I place a try catch statement
to
handle this?

Thanks in advance
 
HI!

No, I did not. I just want to make sure that when the form is Initiated and
the Shdocvw.dll is corrupted (or missing) I can handle the error and continue
loading the form.

Normally this is done in the InitializeComponent() method. Is just need some
advice of HOW I can handle such a problem (exception)

Any suggestion?

Thanks!!
 
Back
Top