Webbrowser Features Thread (Updated Daily)
Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
This is just a thread were people can put there code in so people can make a better webbrowser
Just put the name of the webbrowser addon/program and how to do it / etc.
#1 Navigate From Combobox
1. Go to the combobox you want to use
2. at the right go to selectedindexchanged
3. add this
We need a Special Form with a Listbox,set Multiselect to "False" and make Dock to "Fill"
And a Bookmark Button in the Browser.
BookMark Button Code:
BookMarks Form Load Code:
Thread updated daily with user submitions
Just put the name of the webbrowser addon/program and how to do it / etc.
#1 Navigate From Combobox
1. Go to the combobox you want to use
2. at the right go to selectedindexchanged
3. add this
Code: Select all
Ok Guys here is Code to Make and View Bookmarks...WebBrowser1.Navigate(comboboxname.Text)
We need a Special Form with a Listbox,set Multiselect to "False" and make Dock to "Fill"
And a Bookmark Button in the Browser.
BookMark Button Code:
Code: Select all
The "BookMarks" before Listbox stands for the New Form ;)Private Sub BookMarkButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BookMarkButton.Click
BookMarks.ListBox1.Items.Add(WebBrowser1.Document.Url.ToString)
My.Computer.FileSystem.WriteAllText(Application.StartupPath & "/bookmarks.urls", WebBrowser1.Document.Url.ToString & vbNewLine, True)
End Sub
BookMarks Form Load Code:
Code: Select all
Listbox DoubleCLick Event Code:
Private Sub BookMarks_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
ListBox1.Text = My.Computer.FileSystem.ReadAllText(Application.StartupPath & "/bookmarks.urls")
End Sub
Code: Select all
Thats a really easy Code,but it can be done more complex!Private Sub ListBox1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles ListBox1.DoubleClick
If ListBox1.SelectedItem = "" Then
Else
WebBrowser1.Navigate(ListBox1.SelectedItem.ToString)
Me.Close()
End If
End Sub
Thread updated daily with user submitions
Last edited by anthonygz on Fri Apr 29, 2011 1:30 am, edited 1 time in total.
A webbrowser is so overused , its just not professional anymore
but okay
bookmarks
rss feeds
list elements
edit elements
history
save page
source viewer
password saver
homepage
....
but okay
bookmarks
rss feeds
list elements
edit elements
history
save page
source viewer
password saver
homepage
....
Axel wrote:A webbrowser is so overused , its just not professional anymoreIts mean't so you list features and have the code for it.
but okay
bookmarks
rss feeds
list elements
edit elements
history
save page
source viewer
password saver
homepage
....
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that 

zachman61 wrote:I'm doing what the title says lol not what the author does :PAxel wrote:A webbrowser is so overused , its just not professional anymoreIts mean't so you list features and have the code for it.
but okay
bookmarks
rss feeds
list elements
edit elements
history
save page
source viewer
password saver
homepage
....
I could Post alot Codes for a Very Advanced WebBrowser,
in the moment i am doing a WebBrowser for a Girl which includes such a Big Code its the Biggest Code i ever saw and written.
in the moment i am doing a WebBrowser for a Girl which includes such a Big Code its the Biggest Code i ever saw and written.
I dont know how much Lines i have with all Forms but there are a huge of Lines of Code ;)
I already Done Browser with Webkit,Gecko and IE Browser maybe i gonna post here some Codes ;)
I already Done Browser with Webkit,Gecko and IE Browser maybe i gonna post here some Codes ;)
Napster1488 wrote:I could Post alot Codes for a Very Advanced WebBrowser,i was going to say something. but decided not to to be nice.
in the moment i am doing a WebBrowser for a Girl which includes such a Big Code its the Biggest Code i ever saw and written.
Napster1488 wrote:I dont know how much Lines i have with all Forms but there are a huge of Lines of Code ;)Trident not IE :P
I already Done Browser with Webkit,Gecko and IE Browser maybe i gonna post here some Codes ;)
Use this to count your lines


This file is hosted off-site.
Last edited by Axel on Sat Apr 16, 2011 12:12 am, edited 1 time in total.
Ok Guys here is Code to Make and View Bookmarks...
We need a Special Form with a Listbox,set Multiselect to "False" and make Dock to "Fill"
And a Bookmark Button in the Browser.
BookMark Button Code:
BookMarks Form Load Code:
We need a Special Form with a Listbox,set Multiselect to "False" and make Dock to "Fill"
And a Bookmark Button in the Browser.
BookMark Button Code:
Code: Select all
The "BookMarks" before Listbox stands for the New Form ;)Private Sub BookMarkButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BookMarkButton.Click
BookMarks.ListBox1.Items.Add(WebBrowser1.Document.Url.ToString)
My.Computer.FileSystem.WriteAllText(Application.StartupPath & "/bookmarks.urls", WebBrowser1.Document.Url.ToString & vbNewLine, True)
End Sub
BookMarks Form Load Code:
Code: Select all
Listbox DoubleCLick Event Code:
Private Sub BookMarks_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
ListBox1.Text = My.Computer.FileSystem.ReadAllText(Application.StartupPath & "/bookmarks.urls")
End Sub
Code: Select all
Thats a really easy Code,but it can be done more complex!Private Sub ListBox1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles ListBox1.DoubleClick
If ListBox1.SelectedItem = "" Then
Else
WebBrowser1.Navigate(ListBox1.SelectedItem.ToString)
Me.Close()
End If
End Sub
Copyright Information
Copyright © Codenstuff.com 2020 - 2023