-
[2005] Using HtmlElement
Hi to all,
Im working on a webbrowser project, i want to open a new tab every time the user clicks on the context menu i created, but thats already done what i want its that whe the user places the cursor on a link and clicks open link in new tab a new tab its added and the url of that tab its the url of the link clicked, what i have done so far its :
Code:
dim Oment as HtmlElement
Private Sub OpenInNewTabToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OpenInNewTabToolStripMenuItem.Click
Dim n As New Frmbrowser
n.MdiParent = Mainform
n.Show()
n.ExBrowser1.Navigate(Oment.GetAttribute("HREF"))
End Sub