Step 2: Adding the tools

Add a:

Text Box
Web Browser
5 Buttons

in that order.
<p>A problem many of you may have with an expected end of statement is that you need a semicolon to end the statement. So instead of </p><p>&quot;WebBrowser1.Refresh()&quot; </p><p>you would have to type</p><p>&quot;WebBrowser1.Refresh();&quot; </p><p>Other than that this was a great tutorial!</p>
<p>am getting an error that their is an expected end of the statement.</p>
<p>am getting an error that their is an expected end of the statement.</p>
I would point out that the "WebBrowser" control is effectively an embedded Internet Explorer, so you are really creating a "skin" for the browser rather than creating your own, but that is picking nits- this is a simple but effective project. If only real browsers had controls that minimalist...
i made a better one. heres a picture
How do you change the name of the program so it doesn't say &quot;Form1&quot; all the time?
<p>You have to click on the form and in the bottem right corner click on text and type in the name and press enter.</p>
Now, see, if the WebBrowser control was Firefox rather than Internet Explorer I would totally use that- I could do without losing 110 vertical pixels of my pathetically tiny monitor.
You can download that. It is called Mozilla Browser control - you can download the DLL somewhere but I can't remember
actually, it's called geckofx. <br /> <br /> forum website: geckofx.org<br /> main website: http://code.google.com/p/geckofx/&nbsp;
No. There's one available from Mozilla called Mozilla Browser Control. Google it.
Maybe if you only have firefox then that's what the control will be. If you don't have Internet Explorer, chances are that's now what the web browser will be.
internet explorer is what opens my computer and my documents, and stuff like that, so its pretty much impossible not to have it
Sadly I'm pretty sure it doesn't work like that- Visual Basic is a Microsoft product that assumes a Windows environment so will always have Internet Explorer around, even if it's not the default browser. I work with this technology in my job and we have to pay attention to the subtle differences between Internet Explorer and Firefox because some of our older technologies only work with IE. I'm not sure you can get rid of Internet Explorer- it's a core part of Windows that I don't think you can uninstall like other programs. Shame...
I mean "not"
wait so it isnt really a web browser?
<p>how would i make a favorites button an dsettings tab and bookmarkbar and allow extentions?</p>
<p>I needed a browser for my XP computer. IE kept crashing, and Chrome would not install due to outdated hardware. To get the install working on the XP, I did need to first download and install &quot;Windows Imaging Component (WIC)&quot; from Microsoft.</p><p>For the textbox and the buttons, I used a tablelayoutpanel with column widths set to percentages and rows set to autosize (with textbox spanning all but one column). I put that table (dock set to top) and the webbrowser control (dock set to fill) into another tablelayoutpanel with rows autosized (and only one column). That way I could maximize the program and everything would look the same.</p><p>I will be adding tabs and adding an option to set home page to current page. And who knows what else?</p><p>Thanks for the quick start!</p>
how to set the homepage?
<p>Hi,</p><p>Just add this line to Home button:</p><p>&quot; WebBrowser1.Navigate(&quot;http://www.libraryofarticles.com&quot;) &quot; (without quotas and choose any website you like) :)</p><p>and line &quot;WebBrowser1.GoHome()&quot; you can delete or add &laquo; ' &raquo; before line, like this: <br></p><p>&quot; 'WebBrowser1.GoHome() &quot;. This line now should be green.</p><p>But mainly, if there is not this code line in &laquo;Home&raquo; button, it will open your default home page you have set on your windows internet options. :)</p><p>Hope it works for you!</p><p>Peace! :)</p>
is it possible to create portable apps in vb2005/2008?
Okay, This Instructable is pretty awesome. You see, I was gonna use this for my science fair. (:D) I was wondering, do you know how to put a print and stop button? How to add bookmarks and Bookmarks Bar? how to put an icon for when it loads a site? and a loading bar? How to change the home site? How to fix the &quot;script error&quot; message? Please Message me! :)
BTW, can i use this for science fair project? (Don't worry, deadline is far away.) :)
Do you still have time?
Yeah! Don't worry man, I have a lot of time. My parents are letting me do the science fair very early. :P
it is just simple browse by the way how to auto refresh in this browser.............//////
Hey ol... need to make some Web based project......kind of a web browser or any other application ....any suggestionss... Can afford working offtrack...../
Hi <br> <br> <br>i want web browse fixt web.... <br> <br>how can i make.. can u help me?
&nbsp;this is what ive created... will make an 'ible next time(I AM NOT GIVING UP MY SOURCE CODE - HAW-HAW!!!)it's using the office ribbon GUI (dl from <a href="http://componentfactory.com" rel="nofollow">componentfactory.com</a>)
Dude. (Maybe?) I started my own software company based on this Instructable. I made Jphweb Carbon it uses the same principle as yours. Its open-source too. <a href="http://carbon.jphweb.tk">http://carbon.jphweb.tk</a>
Plus mine uses Trident (used here), GeckoFX and Webkit .NET
Cool, I'm going to try it.<br>BTW, I was only 8 when I made this Instructable. :)
Wow, 8? I'm 12 and I don't know VB! Way to go!
Many websites redirect you once you go to a homepage. However, these instructions do not bind or otherwise update the textbox to reflect this.
can someone upload a finished version. thanks 5* faved
just download this thing called "Mozzila firefox" if you want a finished one. GAWD! if you arnt gonna make one, why the hell bothering to get a simple internet explorer based browser instead of the real thing?
i did mine but when i press play for the first time it says windows browser can not start debugging because it cannot finde a file
Also, you could: <br>WebBrowser1.Stop()
any way the web browser could start at the home page?<br />
Yes. In the event Form1_load for your form (it might not be Form1) just place this code &quot;webBrowser1.Home()&quot;. BASIC only. in c# put ; on the end. Uses IE Homepage.
Sorry. It's &quot;WebBrowser1.GoHome()&quot;
&nbsp;This is great and built my first browser :)<br /> <br /> however, the actual browser control is outdated and a lot of sites (like ask.com) gives me a &quot;script error&quot; message and I have to close<br /> <br /> Anyone know where I can get a newer web control?<br /> <br /> I don't see anything in the component factory :(<br />
Gecko FX. Get it at <a href="http://code.google.com/p/geckofx/">http://code.google.com/p/geckofx/</a>
its great i wish it had some upgrades but im running it now its super light and great XD thanks
i have tried this several times but each time when i click debug and enter ANY web address my browser says: "Navigation to the webpage was canceled What you can try: Refresh the page." when i refresh it it says: "This program cannot display the webpage" please help me thanks chris
I'm only 11, so I'm really just a beginner at coding. Maybe you should rewrite the code and make sure there was no typo. If that doesn't work, you may have problems with your internet connection.
oh no that was me being silly lol<br /> i installed some proxy software earlier which ony effected IE<br /> i didnt think it was a connection problem as i use fireforx whixh wanst affected :P<br /> thanks anyway<br />

About This Instructable


35 favorites


More by lolcat360: Customize Windows XP Make a web browser in visual basic Make a really cool cursor in paint
Add instructable to: