I was using the web browser control and getting some errors when binding to its events. This can be duplicated with the code below. To generate the event class, open the object browser (Tools->Object Browser) and select the Microsoft Web Browser Control.