View Poll Results: Should i make a Advanced Web Browser Tutorial?
- Voters
- 15. You may not vote on this poll
-
Oct 19th, 2008, 08:33 AM
#1
Thread Starter
Lively Member
Tutorial - Very Simple Web Browser (Beginners)
Hi welcome to my tutorial.
This is a tutorial for beginners.
I will teach you how to make a very simple Web browser.
This tutorial is for windows forms.
--------------------------------------------------------
The idea for Home is by me ( Hlinzi )
Start off by designing you're Web Browser.
What you need is
- 2 Text Boxes ( 1 For Go (Gotextbox) 1 For Home (Hometextbox) )
- 6 Buttons ( Go, Home, Forward, Back, Stop, Refresh )
- 1 Webbrowser ( Webbrowser1 )
- 1 Status Strip
- 1 StatusStrip Label
- 1 StatusStrip Progress Bar
Okay.
When you've put you're buttons together, double click Go button and write in this code:
Code:
Webbrowser1.Navigate(Gotextbox.text)
Then go back to design and double click Home, Now write in this code:
Code:
Webbrowser1.Navigate(Hometextbox.text)
Do this over again, here are the codes for the buttons:
---------
Forward:
Code:
Webbrowser1.GoForward
---------
Back:
---------
Stop:
---------
Refresh:
Code:
Webbrowser1.Refresh
---------
StatusStrip Label & Progress Bar
For this you need to double click the WebBrowser and change the Declaration to ProgressChanged.
Code:
ToolStripProgressBar1.Maximum = e.MaximumProgress
ToolStripProgressBar1.Value = e.CurrentProgress
ToolStripStatusLabel1.Text = "Progress: " & e.CurrentProgress
---------
Thank you for reading my tutorial
If this helped you, Please rate
This is my Biggest Post So Far!
Last edited by Hlinzi; Oct 25th, 2008 at 07:57 AM.
-
Oct 25th, 2008, 07:15 AM
#2
Thread Starter
Lively Member
Re: Tutorial - Very Simple Web Browser (Beginners)
-
Oct 25th, 2008, 07:49 AM
#3
Thread Starter
Lively Member
Re: Tutorial - Very Simple Web Browser (Beginners)
Hmm I'm sorry. It's almost not possible. You can't tell what's an ad and what's not. Anyway ill add a progress bar here :P
-
Oct 25th, 2008, 08:15 AM
#4
Thread Starter
Lively Member
Re: Tutorial - Very Simple Web Browser (Beginners)
For a ad blocker you could do this:
Go Button_Click
Code:
If TextBox1.Text = "www.youtube.com" then
Msgbox("Blocked Site")
Textbox1.Text = ""
End If
And then you could change it and maybe add groupbox with option of changing blocked sites, lets imagine i have a groupbox with 1 Textbox which is TextBox10
Code:
If TextBox1.Text = TextBox10.Text Then
Msgbox("Blocked Site")
TextBox1.Text = ""
End If
-
Oct 25th, 2008, 08:16 AM
#5
Thread Starter
Lively Member
Re: Tutorial - Very Simple Web Browser (Beginners)
But i wouldn't call it an ad blocker ;/
-
Dec 13th, 2008, 05:39 PM
#6
Hyperactive Member
Re: Tutorial - Very Simple Web Browser (Beginners)
I do know how to block a desire web page using the web browser control.
First, Create a blocked web page (the page that will be displayed if the page is blocked)
Second, check if the web page that is going to be blocked is in some sort of blocked web page list, or which ever way you want to do it.
Third, then display the blocked page on the web browser control.
This should be very easy to do, I won't post any code, so you can investigate the web browser control more deeply.
-
Feb 15th, 2011, 06:30 AM
#7
New Member
Re: Tutorial - Very Simple Web Browser (Beginners)
oh god!
thank you very much ,that's exactly the way of tutorials i need as beginner ,in other places i just find codes but lost in putting objects , that's so accurate ,
thank youuuuuuuuuuu
-
Feb 15th, 2011, 08:41 AM
#8
Re: Tutorial - Very Simple Web Browser (Beginners)
Make one if you really want to. Don't if you do not wish to. * Note: The author of a tutorial sometimes learns things too!
VB6 Library
If I helped you then please help me and rate my post!
If you solved your problem, then please mark the post resolved
-
Mar 7th, 2011, 02:55 AM
#9
Banned
Re: Tutorial - Very Simple Web Browser (Beginners)
i needed this for a youtube thing i am doing
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|