Web Browser - Favorites
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.
3 posts
Page 1 of 1
Hi I would like to request a tutorial for Visual Basic 2008. I would like to know how to save a bookmark in the menu with the page title and when u double click on it in the menu it will navigate to the url not the title name is this possible? Thanks!
Sincerely,
Harley
[Information Technologist in training, New to the whole VB coding]
Harley
[Information Technologist in training, New to the whole VB coding]
Try this:
Code: Select all
Dim uris As List(Of Uri) = New List(Of Uri)
Sub favClick(ByVal sender As ToolStripItem, ByVal e As System.EventArgs)
Dim uindex As String = sender.Text.Remove(sender.Text.IndexOf("."c))
WebBrowser1.Url = uris(Integer.Parse(uindex))
End Sub
Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSetText.Click
Dim tsi As ToolStripItem = FavoritesToolStripMenuItem.DropDownItems.Add(FavoritesToolStripMenuItem.DropDownItems.Count & ". " & WebBrowser1.Document.Title)
uris.Add(WebBrowser1.Url)
AddHandler tsi.Click, AddressOf favClick
End Sub
Ok when I tried this it gave me an error. What do I use to get this working? Also I would like to change my question for a tutorial. You know how in Internet Explorer it has the back button, the forward button, the picture-address bar drop down witht he recent history, and the compatability view, the refresh button, the stop button (which is attached to the address bar along with the other two buttons that light up when you hover over one part.) the search bar with the picture and the go button inside the bar. How do I make it like that? I would also like to know how to get the IE favorites bar and the tabs with the other buttons at the end.
Sincerely,
Harley
[Information Technologist in training, New to the whole VB coding]
Harley
[Information Technologist in training, New to the whole VB coding]
3 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023