Some websites use links that when you clicked them they open a new window...
I don't want it it open a window of IE, I want it to just display in the current webbrowser control
how would I get the url to display? beforenavigate2 or newwindow2?
Printable View
Some websites use links that when you clicked them they open a new window...
I don't want it it open a window of IE, I want it to just display in the current webbrowser control
how would I get the url to display? beforenavigate2 or newwindow2?
newwindow2 i think, but you must stop the window from being created, i think you can use a cancel variable similar to form_unload's and then use navigate2 to redirect the current webbrowser control the the url that was attempting to open in a new window.