Visual Basic Language Companion

Submitted by: Submitted by

Views: 245

Words: 8365

Pages: 34

Category: Science and Technology

Date Submitted: 12/15/2012 07:14 PM

Report This Essay

Visual Basic Language Companion for

Starting Out with Programming Logic and Design, 2nd Edition

By Tony Gaddis

Copyright © 2010 Pearson Education, Inc.

Table of Contents

Introduction 2 Introduction to Visual Basic 3 Input, Processing, and Output 10 Procedures 28 Decision Structures and Boolean Logic 35 Repetition Structures 50 Functions 58 Input Validation 71 Arrays 73 Sorting and Searching Arrays 85 Files 92 Menu-Driven Programs 101 Text Processing 104 Recursion 110 Object-Oriented Programming 112 GUI Applications and Event-Driven Programming 124

Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14 Chapter 15

Page 1

Introduction

Welcome to the Visual Basic Language Companion for Starting Out with Programming Logic and Design, 2nd Edition, by Tony Gaddis. You can use this guide as a reference for the Visual Basic Programming Language as you work through the textbook. Each chapter in this guide corresponds to the same numbered chapter in the textbook. As you work through a chapter in the textbook, you can refer to the corresponding chapter in this guide to see how the chapter's topics are implemented in the Visual Basic programming language. In this book you will also find Visual Basic versions of many of the pseudocode programs that are presented in the textbook.

Page 2

Chapter 1

Introduction to Visual Basic

To program in Visual Basic, you will need to have one of the following products installed on your computer:   Microsoft Visual Studio Microsoft Visual Basic Express Edition

Starting Visual Studio

There's a good chance that Microsoft Visual Studio has been installed in your school's computer lab. This is a powerful programming environment that allows you to create applications, not only in Visual Basic, but other languages such C# and C++. If Visual Studio is installed on the computer that you are using, you can find it by clicking...