I have a simple program with a web browser control and a button that causes it to navigate to a certain web page, as well as an input and another button for entering a url directly.

Everything was working fine until I started messing with the document completed event in the control.

The form loads a url initially and after that 80% of the time it freezes when clicking the button or entering a new url. I deleted the document completed code and now it still freezes a majority of the time.

I cant for the life of me see any pattern in the freeze.

Any ideas?