Tuesday, 11 September 2007

Making A Web Browser Pt2

Part 2 : Layout

So, you've opened up Visual Basic and you've created the project that will become your web browser.

Before I start, I recommend 'pinning' the toolbox open because we'll be using it quite a bit.


Drag and drop a text box onto your form and place it where you want.










Now we need to drag our Go button onto the page.It's basically just a button so what we use is a 'Button'.











Next up, we do what is in theory a hard part, but, Visual Basic makes dragging a web utility onto a page easy. What you do is, drag a "Web Browser" onto the page. As mentioned before, all these items are found on the toolbar, and the Web Browser is found at the bottom of the "common controls" section.











Next up, we'll look at how we code this program, in the mean-time though, I'll show you how to clean up some of the little problems that you might want to fix after you finish creating the browser.

No comments: