Computing and Information Technology Building a Web Browser

Slides:



Advertisements
Similar presentations
B: STUDENT DRIVE MOVE INSTRUCTIONS. Using Internet Explorer: From your computers desktop, double click on the Internet Explorer icon. (Internet Explorer.
Advertisements

Intro to Computers!.
Microsoft Expression Web-Illustrated Unit J: Creating Forms.
1 After completing this lesson, you will be able to: Start Outlook. Navigate within Outlook. Use the Outlook Bar. Use the Folder List. Use the Office Assistant.
Chapter 1 Getting Started With Dreamweaver. Explore the Dreamweaver Workspace The Dreamweaver workspace is where you can find all the tools to create.
Creating First Class Web Pages Log into your account.
Getting an account with WordPress.com Open your web browser ( mozilla firefox, internet explorer, opera, etc.,)
 Definition of HTML Definition of HTML  Tags in HTML Tags in HTML  Creation of HTML document Creation of HTML document  Structure of HTML Structure.
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
Google Earth How to create a Google Earth Tour and place it in your Wiki.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Microsoft Visual Basic 2005 CHAPTER 12 Cell Phone Applications and Web Services.
Internet. Internet is Is a Global network Computers connected together all over that world. Grew out of American military.
 Using Microsoft Expression Web you can: › Create Web pages and Web sites › Set what you site will look like as you design it › Add text, images, multimedia.
Visual Basic 2008 Express Edition The IDE. Visual Basic 2008 Express The Start Page Recent Projects Open an existing project Create a New Project.
XP Tutorial 7 New Perspectives on Microsoft Windows XP 1 Microsoft Windows XP Working with Graphics Tutorial 7.
Microsoft Windows LEARNING HOW USE AN OPERATING SYSTEM 1.
Web Design Using HTML Codes. WHAT DO I NEED TO BEGIN DESIGNING A HOME PAGE? 1.YOU NEED A FOLDER (also called a DIRECTORY) You should set up a folder or.
Scoring Program Updates & XML upload to the NSRCA web site July 2013.
IE 411/511: Visual Programming for Industrial Applications
Creating a Web Site to Gather Data and Conduct Research.
Accessing the Admit Online System ADMIT. Accessing the Admit Online System Enter the address of the Admit system into your browser (Google Chrome, Firefox,
Once you have contacted me to set up a new account, your computer needs to be configured to dial into.DevlinEx and use our servers for things like .
How to use the internet The internet is a wide ranging network that thousands of people use everyday. It is a useful tool in modern society that once one.
Clearly Visual Basic: Programming with Visual Basic 2008 Chapter 4 I Need a Tour Guide.
Fall 2005 Using FrontPage to Enhance Blackboard - Darek Sady1 Using FrontPage to Enhance Blackboard 1.Introduction 2.Starting FrontPage 3.Creating Documents.
To be able to create a new web site in hours, and then be able to change it whenever you want, place your order with take2theweb. Then you will be able.
4th Grade Book Publishing Project: Animal ABC Book
Downloading and Installing Autodesk Revit 2016
Microsoft Visual Basic 2008 CHAPTER TWELVE Cell Phone Applications and Web Services.
Downloading and Installing Autodesk Inventor Professional 2015 This is a 4 step process 1.Register with the Autodesk Student Community 2.Downloading the.
 To begin you first need to sign up to Weebly by going to or alternatively and we will create an account.
Chapter 1 Getting Started With Dreamweaver. Exploring the Dreamweaver Workspace The Dreamweaver workspace is where you can find all the tools to create.
Photoshop Image Slicing. Reasons to Image Slide To create links out of sliced images To optimise different areas. (flat areas of colour, such as logos,
1 Visual Basic Part I - A tool for customizing your program Principles of GIS
Mapping local community assets online Read this if you want to learn how to: 1)Create online maps of local community assets using Google Maps 2)Allow other.
Know your computer Make a Folder Copy from Word to Composer Format the Font Change the Alignment Format the Background Format the Colors Insert a Picture.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
+ Publishing Your First Post USING WORDPRESS. + A CMS (content management system) is an application that allows you to publish, edit, modify, organize,
VB.NET and Databases. ADO.NET VB.Net allows you many ways to connect to a database. The technology used to interact with a database or data source is.
Creating a Web Site Creating a new Web site Defining and using folders Creating and editing Web pages Viewing pages in a Web browser.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
Levitra 20 mg Getting started with Firefox New to Firefox? Well you’ve come to the right place. This article covers all the basics and will get you up.
FrontPage & Web Page Design. Starting FrontPage Click on the FrontPage icon in the task bar at the bottom of the screen or Locate it from the programs.
Presenter: Suzy Belonga BTOP/EUPISD Instructional TechnologistWelcome!
Working On-Line Module 3 People's Resource Center Barry Glicklich Last modified 19 March 2012Working On-Line (BG)1.
Overview Review Elements
MIS 3200 – C# (C Sharp)
Chapter 3: I Need a Tour Guide (Introduction to Visual Basic 2012)
Chapter 1: An Introduction to Visual Basic .NET
Getting an account with WordPress.com
HMI - Web Visualization
What this activity will show you
PowerPoint Web Feature
1. Introduction to Visual Basic
Adding a File to a Course
Access Project 8 Using Visual Basic for Applications (VBA) and Creating Multi-Page Forms.
Word and the Writing Process
Getting Started with Dreamweaver
Electronic Communication
KELLER WILLIAMS REALTY
Overview Review Elements
Cheat Sheet CSCI 100 JW Ryder
Left Click to view the next slide.
European Computer Driving Licence
MePS Manual Login Screen
Overview of the IDE Visual Studio .NET is Microsoft’s Integrated Development Environment (IDE) for creating, running and debugging programs (also.
Drupal user guide Evashni Jansen Web Office.
GUI Programming in Visual Studio .NET
After completing this lesson, you will be able to:
Presentation transcript:

Computing and Information Technology Building a Web Browser

Build your own Web-browser Basically everyone likes to navigate the Internet using commercially produced web browsers such as the Internet Explorer produced by Microsoft or those open source browsers designed by the experts such FireFox, Opera and Chrome created by Google.

Build your own Web-browser However, wouldn’t it be cool to create your very own web browser and customise it to your own taste? We can do that in Visual Basic and it’s pretty easy to do. In this exercise, I will show you how to create a simple web browser and get it running in just a few minutes

Start a new Project Select the New Project option Name the project WebBrowser (and add your initials to the end), e.g. WebBrowserJA Click OK

Visual Basic Editor Properties Form Control Set the start-up properties Tool Box Drag Control onto the Form

Form Control: Visual Basic forms are rectangular shaped areas of the computer screen called windows on which we can add objects like buttons, text, pictures etc. These objects can have code attached and thus develop applications Locate the Property window, on the right side of the screen Change Name property to FrmWebBrowser Change the Text property to My Web Browser (Notice: That the Caption in the Blue banner at the top of the form, changes) Change the Window State property Maximized

Web Browser Control You will need to add an engine so that your web browser can connect to the Internet. Locate the Toolbox on the left side of the screen Drag a Web Browser control onto the form Select the Web Browser control to view its properties Change Name property WBWebPage Change Anchor property to Top, Bottom, Left, Right. Change URL property to www.google.com

Web Browser Control Resize the form and then make sure the web browser fills the form leaving space at the top for the next exercise

Save and Run your program We are now ready to run our program for the first time. Save Program From the File Menu select Save all If this is the first time you have saved your program you will be prompted to give a save location. Accept the default save options Select OK. You program is now safe Run Program Now Select the RUN button at the top of the screen. Your new browser should display the default web page Google. Well done!

Combo Box Control: At the top of the WebBrowser control we will place a combo box. This will be the address bar where the user can enter the URL Located on the Toolbox on the left side Drag a Combo Box control onto the form Move the Combo Box place it towards the top Select the Combo Box control to view it properties Change Name property cboURL

Label Control Labels allow us to place text on the screen. This label will contain the word URL: and will be placed to the left of the combo box. Locate the Toolbox on the left side Drag a Label control onto the form Move the Label, place it towards the left of the combo box Select the Label control to view it properties Change the Name property to LblURL Change the Text property to URL:

Button Control The Button Control is a button that we can attach code that allows our application to do something. Locate the Toolbox on the left side of the screen Drag a Button control onto the form Move the Button control, place it towards the right hand side of the combo box Select the Button control to view its properties Change the Button control properties Name to BtnGo Change thee Button control Text property to Go

Save and Run your program We are now ready to run our program: Save Program From the File Menu select Save all Run Program Now Select the RUN button at the top of the screen.

Tweaking With a little tweaking, your form should now look a little like this!

Programming or Coding As it stands our browser can only load one web-site, therefore; we need to program our application so that we can load any URL by simply entering a web-site address, and pressing a button. To achieve this we need to code (Program) our application.

BtnGo Control Code Button Control Code Double click the Go Button You should now see the code editor and the BtnGo sub routine Public Class FrmWebBrowser Private Sub BtnGo_Click(ByVal sender As System.Object, ByVal e As  End Sub End Class 3. Between the Private Sub and End Sub tags.  Type in the following code WebPage.Navigate(cboURL.Text) cboURL.Items.Add(cboURL.Text)

Save and Run your program We are now ready to run our program: Save Program From the File Menu select Save all Run Program Now Select the RUN button at the top of the screen. Now enter the desired website into the combo box at the top of the screen Click on the Go Button The website you entered should now appear. Well done again!

Make you Web Browser Haunted Now for a little fun. We can trick our friends and family by making our program appear haunted. The program will fade in and out like a ghost. Timer Control Locate the Toolbox, on the left hand side of the screen Drag a Timer control onto the form Select the Timer control to view its properties Change Timer property Name to TimGhost Change Timer property Intervals to 1 Change Timer property Enabled True Double click the Button TimGhost At the top of the page just below Public Class tags type: Public Class FrmWebBrowser Dim Transparency As Double

Make you Web Browser Haunted 9. Between the Private sub and End Sub tags type in the following code Private SubTimghost_Tick(ByVal sender As System.Object End Sub If Me.Opacity = 1 Then transparency = -0.001 If Me.Opacity = 0 Then transparency = +0.001 Me.Opacity = Me.Opacity + transparency

Save and Run your program We are now ready to run our program: Save Program From the File Menu select Save all Run Program Now Select the RUN button at the top of the screen. Watch what happens!