.net - How to Handle/Catch the Link Clicked inside WebBrowser Control in VB.Net 2008 -


i have webbrowser control inside vb.net 2008 application.

when click link inside webbrowser, opens new internet explorer window. not handle web page cannot in way modify target property.

is there way in vb.net catch clicked link , have display inside particular webbrowser control?

try this:

private void mywebbrowser_newwindow(object sender, system.componentmodel.canceleventargs e) {     e.cancel = true;     mywebbrowser.navigate(mywebbrowser.statustext); } 

Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -