Sans103171

Hi

Since yesterday i have a problem with the Webbrowser control, i only set the Url property in the click handler of a button and seconds later an "Unhandled Win32" exception appears and my program is closed. I have the release version of Visual Studio 2005, and have no clue what could cause this error. Any ideas

Thanks

Hugo Fernando Zapata



Re: Windows Forms General Unhandled exception using WebBrowser in RTM 2.0

Mark Dawson

Hi,

do you have any more information such as an error code, exception message description

Mark.






Re: Windows Forms General Unhandled exception using WebBrowser in RTM 2.0

Sans

Hi Mark

The exception code was 4840. its the only information, and that it was an unhandled win32 exception. Today i tried the code and it ran fine, (im just setting the Url property of the webbrowser control). Im still worried about a final user getting this error because i couldnt discover its cause

Thanks





Re: Windows Forms General Unhandled exception using WebBrowser in RTM 2.0

Brazzle

Sounds simple enough, like a fluke. I would try making sure you have installed VS Service Pack 1, just to be safe, and then gracefully handle the exception in that statement. I wouldn't count on that happening for the end-user