| | [VB.NET] How to: Webbrowser | |
| | Author | Message |
---|
xeloader Creator & Owner
Number of posts : 326 Age : 31 Programming Skill : Programming Languages : VB.net, Java [A little], HTML. Registration date : 2008-07-08
| Subject: [VB.NET] How to: Webbrowser Mon Mar 02, 2009 7:50 pm | |
| Hello! Today we are going to make an INCREDIBLE EASY webbrowser. For you that never had any other programming experience before, then this is perfect! So lets start!1. Start by opening Visual Basic 2008 and open a new project, windows form. Call it webbrowser - You have a form called form1 right in front of you now! And up to the left you have a small tab called toolbox. - That's your toolbox for all of your buttons, labels etc. 2. Time to get your form into "shape", if you click on your form, the properties will show up down to your right. - Find the property called "text" and change it to "webbrowser". - Go to your toolbox and add the following: (You just drag them onto the form.) 5 Buttons 1 Panel 1 Webbrowser 1 TextBox
|
- Time to set some Properties, the properties are very important whatever you program. And you can always get to the properties by typing a bit of code. So set the following properties: Button1: | Text: <- | Button2: | Text: -> | Button3: | Text: Refresh | Button4: | Text: Stop | Panel1: | Dock: Top | Webbrowser1: | Dock: Fill | Form1: | Acceptbutton: Button5 |
When you've done that, move all the button and the textbox to the top of the form, it should look something like this afterwards! !: Rightclick on your Panel1 and press "Send to Back" to get the webbrowser to fit!3. You have a form, with buttons and it looks nice.. Now what? Time to program the buttons - When you doubleclick a button or a textbox etc. The Class will pop up with the event when the button is clicked! So what you have to do is to doubleclick the controls below: Control Code Button1: | WebBrowser1.GoBack() | Button2: | WebBrowser1.GoForward() | Button3: | WebBrowser1.Refresh() | Button4: | WebBrowser1.Stop() | Button5: | WebBrowser1.Navigate(TextBox1.Text) |
!: To run your webbrowser press on the "run" button on the top, it looks like a play button! PICTURE: 4. There you go! Your very first Webbrowser in Visual Basic! I know it could be alot harder, but this was for the beginners! Thx //Xeloader
Last edited by Xeloader on Mon Mar 02, 2009 8:13 pm; edited 4 times in total | |
| | | king jake A ½ Programmer
Number of posts : 123 Programming Skill : Registration date : 2008-07-09
| Subject: Re: [VB.NET] How to: Webbrowser Mon Mar 02, 2009 7:57 pm | |
| =.= screw u.. don't you know i dont have the 2nd thing?@! racism! racism i say!! | |
| | | xeloader Creator & Owner
Number of posts : 326 Age : 31 Programming Skill : Programming Languages : VB.net, Java [A little], HTML. Registration date : 2008-07-08
| Subject: Re: [VB.NET] How to: Webbrowser Mon Mar 02, 2009 8:09 pm | |
| | |
| | | king jake A ½ Programmer
Number of posts : 123 Programming Skill : Registration date : 2008-07-09
| Subject: Re: [VB.NET] How to: Webbrowser Mon Mar 02, 2009 9:37 pm | |
| btw dis guy named king jake is totally uberly kewl liek ftw ^^ | |
| | | Black Servant
Number of posts : 7 Age : 31 Programming Skill : Programming Languages : C++,C#,VB6,VB.net,Html,php,css,Java,Java Script,Delphi,Ruby,Phyton,Pearl,D3D(Dll in almost every Prog), Registration date : 2009-03-09
| Subject: Re: [VB.NET] How to: Webbrowser Mon Mar 09, 2009 12:11 am | |
| Thats a fuckin copy and paste tutorial and how you want to show people what to do they didnt even understand what u did they just copy and paste it and then say proudly they made theyre own webbrowser... | |
| | | xeloader Creator & Owner
Number of posts : 326 Age : 31 Programming Skill : Programming Languages : VB.net, Java [A little], HTML. Registration date : 2008-07-08
| Subject: Re: [VB.NET] How to: Webbrowser Mon Mar 09, 2009 11:16 pm | |
| Ehrm.. Lol..? So you mean, the first thing you programmed was all by yourself, and noone ever showed you how to do it? And you've never copy and pasted in your whole life? I must say, then your a god damn Programming god.. -.-' Don't come and complain on my tutorials if you don't got any better stuff to come with. Read it again! IT'S A BEGINNER TUTORIAL! To MAKE something for your first time. Not to learn something, not much. That's my next tutorial.
//Xeloader | |
| | | Black Servant
Number of posts : 7 Age : 31 Programming Skill : Programming Languages : C++,C#,VB6,VB.net,Html,php,css,Java,Java Script,Delphi,Ruby,Phyton,Pearl,D3D(Dll in almost every Prog), Registration date : 2009-03-09
| Subject: Re: [VB.NET] How to: Webbrowser Mon Mar 09, 2009 11:58 pm | |
| I dont think this is a beginner tutorial a really good one is on youtube ^^ there are a lot ^^ like ur iphone jailbreak tut really cool i liked it ^^ yeah u maybe should explain simple things like what a button is for what they do with timers how they can use a progress bar etc... thats what noobs need...Black | |
| | | xeloader Creator & Owner
Number of posts : 326 Age : 31 Programming Skill : Programming Languages : VB.net, Java [A little], HTML. Registration date : 2008-07-08
| Subject: Re: [VB.NET] How to: Webbrowser Tue Mar 10, 2009 12:29 am | |
| - Black wrote:
- I dont think this is a beginner tutorial a really good one is on youtube ^^ there are a lot ^^ like ur iphone jailbreak tut really cool i liked it ^^ yeah u maybe should explain simple things like what a button is for what they do with timers how they can use a progress bar etc... thats what noobs need...Black
Ye i know But i made this tut in a hurry, next time i can explain all the stuff a bit better Thx for the Critics, really need em haha ^^ //Xeloader | |
| | | Black Servant
Number of posts : 7 Age : 31 Programming Skill : Programming Languages : C++,C#,VB6,VB.net,Html,php,css,Java,Java Script,Delphi,Ruby,Phyton,Pearl,D3D(Dll in almost every Prog), Registration date : 2009-03-09
| Subject: Re: [VB.NET] How to: Webbrowser Tue Mar 10, 2009 7:40 pm | |
| xD this site isnt bad but u need some more things u need another forum software maybe php fusion and another design this one looks like my white tshirt that my mum has put into the machine for washing clothes with my black shirts *** gray...xD | |
| | | xeloader Creator & Owner
Number of posts : 326 Age : 31 Programming Skill : Programming Languages : VB.net, Java [A little], HTML. Registration date : 2008-07-08
| Subject: Re: [VB.NET] How to: Webbrowser Wed Mar 11, 2009 1:23 am | |
| - Black wrote:
- xD this site isnt bad but u need some more things u need another forum software maybe php fusion and another design this one looks like my white tshirt that my mum has put into the machine for washing clothes with my black shirts *** gray...xD
LOL XD I dont have the time to fix the design right now, and with the phpfusion.. Been thinking a long time to fix it, but i never did.. So it's time to do something about that Security and Design here i come xD //Xeloader | |
| | | Reloader A ½ Programmer
Number of posts : 173 Age : 29 Programming Skill : Programming Languages : Learned new laguages: Visual C++ (you can make everything with this), Java & CSS/HTML. Registration date : 2009-01-02
| Subject: Re: [VB.NET] How to: Webbrowser Wed Apr 22, 2009 4:21 pm | |
| Your forum is getting good, I love this of Reputation, Programming Skill!! This is very cool | |
| | | xeloader Creator & Owner
Number of posts : 326 Age : 31 Programming Skill : Programming Languages : VB.net, Java [A little], HTML. Registration date : 2008-07-08
| | | | Reloader A ½ Programmer
Number of posts : 173 Age : 29 Programming Skill : Programming Languages : Learned new laguages: Visual C++ (you can make everything with this), Java & CSS/HTML. Registration date : 2009-01-02
| Subject: Re: [VB.NET] How to: Webbrowser Wed Apr 22, 2009 5:58 pm | |
| | |
| | | Fpsdown Beginner
Number of posts : 18 Age : 27 Programming Skill : Programming Languages : ^^ Registration date : 2009-06-30
| Subject: Re: [VB.NET] How to: Webbrowser Sat Sep 12, 2009 9:48 am | |
| Next time add a home button xe - Code:
-
Webbrowser1.GoHome | |
| | | Sponsored content
| Subject: Re: [VB.NET] How to: Webbrowser | |
| |
| | | | [VB.NET] How to: Webbrowser | |
|
| Permissions in this forum: | You cannot reply to topics in this forum
| |
| |
| |