Webbrowser Open links
Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Can you explain a bit more? Like can you tell me for what you need the codes for?
Hello,
I know what you mean, you want to be able to right-click on a link in a webpage and open it in a new tab using a contextmenu. Im not sure how to do that from the webbrowser control to be honest but I did find this project online which does it, have a look through: http://www.codeproject.com/KB/recipes/I ... owser.aspx
Not sure how to capture links from within a browser control :?
I know what you mean, you want to be able to right-click on a link in a webpage and open it in a new tab using a contextmenu. Im not sure how to do that from the webbrowser control to be honest but I did find this project online which does it, have a look through: http://www.codeproject.com/KB/recipes/I ... owser.aspx
Not sure how to capture links from within a browser control :?
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
for to open it in a new tab like and a new window like in internet explorer and then not in explorer that is it doing now but i wanna open it in my tabcontrol or a new window in my program
Hello,
Ok ill have a look for you and see if I can figure it out cooll;
Ok ill have a look for you and see if I can figure it out cooll;
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
MasterCoding wrote:yes yes i JUST WANT TO KNOW SOME CODES NOT THE STEPS JUST CODEs!!!!!!!!!!!!!!!!!!!!!!All you gotta do is this:
Click on your webbrowser -> click the lightning -> double click NewWindow:
Private sub webbrowser1_NewWindow and so on...
Code: Select all
there ya have it...Dim newtab As TabPage
Dim webb As New WebBrowser
e.Cancel = True
newtab.Text = "Untitled"
webb.Dock = DockStyle.Fill
webb.Url = New Uri(Me.wb.Url.AbsoluteUri)
newtab.Controls.Add(webb)
Me.wb = webb
Me.tabcontrol1.Controls.Add(newtab)
i think he means like the save image and save file stuff like that
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that 

Copyright Information
Copyright © Codenstuff.com 2020 - 2023