Hello Visual Basic.Net: Boolean

Learn Visual Basic.Net in 15 step-by-step lessons.

hello-world.com
Privacy Policy

Site map

Hello-World

At the end of this lesson:
You will learn what a Boolean expression is, and how to use them.
You will use If and Else statement to control the sequence of execution.
You will learn how to use And and Or in a Boolean expression.
You will learn how to tell if the user clicked or double clicked.
1. Print and read the lesson.
Follow all instructions as you go along.
(Punch, staple, put in your binder.)

2. Run each of the demos, flowcharts or other materials from the lesson: maze

3. Write each of the programs in the lesson.
To get the most out of these programs

4. All of the programs from the lesson are in an executable zip file. When you click on this link, save the zip file to your disk.
Double click on the EXE file and unzip all of the files to a directory created for this lesson.

Programs: Maze, Quadrants,
Compare the code in the programs to the ones you wrote.
Code from lesson 4: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11

5. Do the self test questions and check your answers.

6. Using the sample programs as a model, write a completely new program
that uses the same techniques.

Programming Exercise:
Using what you learned in this lesson, create an application that:

When the form is resized, draw two lines that divide the screen into quadrants. When the mouse moves across the form display the coordinates of the point using the math coordinates with the intersection of the 2 lines as (0,0)

Copyright © Hello World Publications. All rights reserved worldwide.

hello-world.com
Privacy Policy

Site map

Hello-World