taiew
July 13th, 2001, 04:44 AM
hi all,
i'm writting a program with a WebBrowser1 object in my form and every navigation have to be occur in the browser eventhrough in response to a navigation targeted to a new window, or to a scripted window.open method.
i manage to prevents the new window from opening by setting the Cancel flag to TRUE in an event handler for the NewWindow2 event.
however, the new browser window does not open and the intended navigation fails. Is there any way to navigate the url in my current browser window?
thanks in advance!
i'm writting a program with a WebBrowser1 object in my form and every navigation have to be occur in the browser eventhrough in response to a navigation targeted to a new window, or to a scripted window.open method.
i manage to prevents the new window from opening by setting the Cancel flag to TRUE in an event handler for the NewWindow2 event.
however, the new browser window does not open and the intended navigation fails. Is there any way to navigate the url in my current browser window?
thanks in advance!