advanced history [webbrowser]
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.
6 posts
Page 1 of 1
i need a history so it catergorizes it by the site name and not the url
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that 

Try:
Code: Select all
Though it is hardly advanced. Dim uris As List(Of Uri) = New List(Of Uri)
Private Sub WebBrowser1_Navigating(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserNavigatingEventArgs) Handles WebBrowser1.Navigating
ListBox1.Items.Add(ListBox1.Items.Count & ". " & WebBrowser1.Document.Title)
uris.Add(WebBrowser1.Url)
End Sub
Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged
WebBrowser1.Url = uris(ListBox1.SelectedIndex)
End Sub
mandai wrote:Try:Code: Select allThough it is hardly advanced.Dim uris As List(Of Uri) = New List(Of Uri) Private Sub WebBrowser1_Navigating(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserNavigatingEventArgs) Handles WebBrowser1.Navigating ListBox1.Items.Add(ListBox1.Items.Count & ". " & WebBrowser1.Document.Title) uris.Add(WebBrowser1.Url) End Sub Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged WebBrowser1.Url = uris(ListBox1.SelectedIndex) End Sub
that isnt exactly advanced but mandai's code shud work usually i do mine in date category becuz i dnt put urls in history i put the websites title so itz much eazia to organize em into date category.
how do i do the date category
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that 

Add DateTime.Now to the listbox instead of the document title?
ill try it
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that 

6 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023