Quote Originally Posted by arpan_de
What do you mean by "some place"? Should those 2 lines be put in an event function of the WebBrowser control or can it put in any Form/other controls' event function?
I assume that you have a place in your app where you do various initialization type coding. Put the two lines there.