I am having the most horrendous time searching for this. I swear I have trawled the web 10 times over.

All I need is to get the URL of the link that has been clicked on, and open it in a new form window that is maximised with a web browser control inside, to the URL of the link.

Sounds so simple yet I can't figure it out, I am wondering if any of the marvellous genius' on here can fathom it out, any help appreciated!

Jack - Written as I am litterally pulling my hair out.

Re: Open link in WebBrowser Control in new WebBrowser Control 80 80

What are you using to view the initial web page?

Re: Open link in WebBrowser Control in new WebBrowser Control 80 80

A webbrowser control. I need to handle the link opening instead of opening in IE.

Re: Open link in WebBrowser Control in new WebBrowser Control 80 80

You haven't posted any code so it's difficult to know exactly what you are doing. Using WebBrowser1.Navigate("http://www.yourUrl", True) will open the url in a browser (IE) window. While using WebBrowser1.Navigate("http://www.yourUrl", False) or WebBrowser1.Navigate("http://www.yourUrl") will open it in your WebBrowser control (ex: WebBrowser1)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.