Mondeo
Centurion
Does anyone know how to instantiate/initialize an active x control in a windows forms app in code. In particular the ax web browser control.
It works fine just dropping it onto the form, but I want to create it from scratch in a seperate thread to the UI, I can create it and it appears on the form however when I call its navigate method I get this
Exception of type 'System.Windows.Forms.AxHost+InvalidActiveXStateException' was unhandled
Thanks
It works fine just dropping it onto the form, but I want to create it from scratch in a seperate thread to the UI, I can create it and it appears on the form however when I call its navigate method I get this
Exception of type 'System.Windows.Forms.AxHost+InvalidActiveXStateException' was unhandled
Thanks