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.
17 posts Page 1 of 2
User avatar
anthonygz
Member
Member
Posts: 48
Joined: Sun Feb 13, 2011 7:25 pm

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
Code: Select all
WebBrowser1.Navigate(comboboxname.Text)
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:
Code: Select all
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
The "BookMarks" before Listbox stands for the New Form ;)

BookMarks Form Load Code:
Code: Select all
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
Listbox DoubleCLick Event Code:
Code: Select all
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
Thats a really easy Code,but it can be done more complex!

Thread updated daily with user submitions
Last edited by anthonygz on Fri Apr 29, 2011 1:30 am, edited 1 time in total.
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

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

....
http://vagex.com/?ref=25000
User avatar
zachman61
VIP - Donator
VIP - Donator
Posts: 1892
Joined: Wed Dec 16, 2009 9:56 pm

Axel wrote:
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

....
Its mean't so you list features and have the code for it.
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that :)
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

zachman61 wrote:
Axel wrote:
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

....
Its mean't so you list features and have the code for it.
I'm doing what the title says lol not what the author does :P
http://vagex.com/?ref=25000
User avatar
Napster1488
VIP - Donator
VIP - Donator
Posts: 524
Joined: Fri Jan 07, 2011 8:41 pm

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.
YouTube Downloader v3.0
Image
Image
Image
User avatar
Agust1337
Coding God
Coding God
Posts: 2456
Joined: Fri Feb 19, 2010 8:18 pm

Line count :P?
Top-notch casual Dating
User avatar
Napster1488
VIP - Donator
VIP - Donator
Posts: 524
Joined: Fri Jan 07, 2011 8:41 pm

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 ;)
YouTube Downloader v3.0
Image
Image
Image
User avatar
RyanTheCoder
New Member
New Member
Posts: 14
Joined: Sun Jul 04, 2010 1:38 pm

Napster1488 wrote:
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.
i was going to say something. but decided not to to be nice.
-RyanTheCoder-
-OMG It's a Blog!-
-The Mother Site-
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

Napster1488 wrote:
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 ;)
Trident not IE :P

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.
http://vagex.com/?ref=25000
User avatar
Napster1488
VIP - Donator
VIP - Donator
Posts: 524
Joined: Fri Jan 07, 2011 8:41 pm

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:
Code: Select all
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
The "BookMarks" before Listbox stands for the New Form ;)

BookMarks Form Load Code:
Code: Select all
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
Listbox DoubleCLick Event Code:
Code: Select all
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
Thats a really easy Code,but it can be done more complex!
YouTube Downloader v3.0
Image
Image
Image
17 posts Page 1 of 2
Return to “Tutorials”