When we create a browser with vb, any javascript pop-ups or user's right click and select "open in new window" launches ie immediately. How do we lanuch the browser we made to do that job instead of lettingIE to take over?
Printable View
When we create a browser with vb, any javascript pop-ups or user's right click and select "open in new window" launches ie immediately. How do we lanuch the browser we made to do that job instead of lettingIE to take over?
In your NewWindow2 Event of the web browser, shell another instance of your application with the URL as command line parameter and cancel the navigation for the current instance of your app. Check for the command line parameter in your Form_Load event to navigate to required address.
I did that but pressing Ctrl - N still brings up IE
You can associate HTTP:// with your program.
I'm new to this forum. How come many pple post suggestion without example scripts?
a lot!
and welcome to vbforums.com :D