+ All Categories
Home > Documents > Visual Basic 101. Creating a Flowchart for our Mechanical Man Start Raise Arms Touch Wall? Yes No A.

Visual Basic 101. Creating a Flowchart for our Mechanical Man Start Raise Arms Touch Wall? Yes No A.

Date post: 30-Dec-2015
Category:
Upload: jason-james
View: 214 times
Download: 0 times
Share this document with a friend
Popular Tags:
21
Visual Basic 101
Transcript
Page 1: Visual Basic 101. Creating a Flowchart for our Mechanical Man Start Raise Arms Touch Wall? Yes No A.

Visual Basic 101

Page 2: Visual Basic 101. Creating a Flowchart for our Mechanical Man Start Raise Arms Touch Wall? Yes No A.
Page 3: Visual Basic 101. Creating a Flowchart for our Mechanical Man Start Raise Arms Touch Wall? Yes No A.

Creating a Flowchart for our Mechanical Man

Start

Raise Arms

Touch Wall?

Yes

No

A

Page 4: Visual Basic 101. Creating a Flowchart for our Mechanical Man Start Raise Arms Touch Wall? Yes No A.

Stand Up

Touch wall? B

Yes

No

Take One Step

Page 5: Visual Basic 101. Creating a Flowchart for our Mechanical Man Start Raise Arms Touch Wall? Yes No A.

Add One to Counter

Touch Wall?

Yes

No

Turn Right

Turn Right

Take One Step

Page 6: Visual Basic 101. Creating a Flowchart for our Mechanical Man Start Raise Arms Touch Wall? Yes No A.

Subtract One from Counter

Is Counter = 0?

No

YesTurn Right

Turn Right

B

Page 7: Visual Basic 101. Creating a Flowchart for our Mechanical Man Start Raise Arms Touch Wall? Yes No A.

Stop

A

B

Sit Down

Lower Arms

Page 8: Visual Basic 101. Creating a Flowchart for our Mechanical Man Start Raise Arms Touch Wall? Yes No A.

Building an Application

Vocabulary Words:

1. Graphical User Interface (GUI) (pronounced “gooey”):

Allows you to use both text and graphical images to communicate with the computer.

Example:

Microsoft Windows is called a graphical user

interface.

Page 9: Visual Basic 101. Creating a Flowchart for our Mechanical Man Start Raise Arms Touch Wall? Yes No A.

2. Application Software or Applications:

Are computer programs that perform a certain function such as calendar, word processing, or spreadsheet.

Even though they are developed by different companies, they have a similar look and feel to the computer user!

Page 10: Visual Basic 101. Creating a Flowchart for our Mechanical Man Start Raise Arms Touch Wall? Yes No A.

3. Visual Basic:

Is itself a Windows application.

Its function is to help you build you own special-purpose applications and application components for the Windows operating system.

Page 11: Visual Basic 101. Creating a Flowchart for our Mechanical Man Start Raise Arms Touch Wall? Yes No A.

4. Stand-alone application (also called EXE):

Is one which runs independently of the Visual Basic system.

Page 12: Visual Basic 101. Creating a Flowchart for our Mechanical Man Start Raise Arms Touch Wall? Yes No A.

5. Multiple document interfaced (MDI) :

Presents windows within windows and is better suited for larger monitors with higher resolutions.

6. Single document interfaced (SDI):

Presents independent windows on the desktop.

Page 13: Visual Basic 101. Creating a Flowchart for our Mechanical Man Start Raise Arms Touch Wall? Yes No A.

7. Docked :

A window that can be anchored to other windows.

Page 14: Visual Basic 101. Creating a Flowchart for our Mechanical Man Start Raise Arms Touch Wall? Yes No A.

8. Design Time:Is the time during which you build an application with Visual Basic.

9. Run Time:Is the time during which you use an application for its intended purpose.

10. Project:These are the applications you build in Visual Basic.

Page 15: Visual Basic 101. Creating a Flowchart for our Mechanical Man Start Raise Arms Touch Wall? Yes No A.

11. Form:

A project always begins with a form!

Objects that become the windows and dialog boxes when the application runs.

12. Twips:

A unit of measurement used to position objects on forms. There are 1440 twips in one inch.

Page 16: Visual Basic 101. Creating a Flowchart for our Mechanical Man Start Raise Arms Touch Wall? Yes No A.

13. Controls:

The command buttons, text boxes, scroll bars, and other objects that make up the user interface.

14. Toolbox:

The collection of tools that allows you to add objects to the forms you create in Visual Basic.

Page 17: Visual Basic 101. Creating a Flowchart for our Mechanical Man Start Raise Arms Touch Wall? Yes No A.

15. Properties:Are characteristics, or attributes, of a control, such as its color or the text that displays on top if it.

16. Events:An action taken by the user or generated by some process that causes an event-driven program to respond. They are messages sent to an object when the application runs.

Page 18: Visual Basic 101. Creating a Flowchart for our Mechanical Man Start Raise Arms Touch Wall? Yes No A.

17. Methods:A command that directs an object to make a change to is state.

Example: The SetFocus method causes the focus to be changed to a certain control on the form.

18. Internal documentation:They are comments within the code statements, they explain how the code in the procedure works. Each comment line must begin with an apostrophe (‘) or the letters Rem.

Page 19: Visual Basic 101. Creating a Flowchart for our Mechanical Man Start Raise Arms Touch Wall? Yes No A.

Let’s start using Visual Basic!

Page 20: Visual Basic 101. Creating a Flowchart for our Mechanical Man Start Raise Arms Touch Wall? Yes No A.

The Properties Window

Object Box

Properties List

Property Values

Page 21: Visual Basic 101. Creating a Flowchart for our Mechanical Man Start Raise Arms Touch Wall? Yes No A.

Homework:

1.) Page 1.57

True/False questions and Multiple

Choice.

2.) Page 1.58

#4 Understanding VB Toolbar and

Toolbox.


Recommended