Book Image

Visual Basic Quickstart Guide

By : Aspen Olmsted
Book Image

Visual Basic Quickstart Guide

By: Aspen Olmsted

Overview of this book

Whether you’re an absolute beginner or an experienced developer looking to learn the Visual Basic language, this book takes a hands-on approach to guide you through the process. From the very first chapters, you'll delve into writing programs, exploring core concepts such as data types, decision branching, and iteration. Additionally, you’ll get to grips with working with data structures, file I/O, and essential object-oriented principles like inheritance and polymorphism. This book goes beyond the basics to equip you with the skills to read and write code across the entire VB family, spanning VB Script, VBA, VB Classic, and VB.NET, enabling you to handle legacy code maintenance with ease. With clear explanations, practical examples, and hands-on exercises, this book empowers you to tackle real-world software development tasks, whether you're enhancing existing projects or embarking on new ones. It addresses common challenges like distinguishing between the variations of the VB programming language to help you choose the right one for your projects. Don't let VB's extensive legacy daunt you; embrace it with this comprehensive guide that equips you with practical, up-to-date coding skills to overcome the challenges presented by Visual Basic's rich history of over two decades.
Table of Contents (27 chapters)
Free Chapter
1
Part 1:Visual Basic Programming and Scripting
9
Part 2:Visual Basic Files and Data Structures
14
Part 3:Object-Oriented Visual Basic
20
Part 4:Server-Side Development

What this book covers

Chapter 1, The Visual Basic Family of Programming Languages, provides an overview of VB and its use cases over the years.

Chapter 2, Console Input and Output, teaches you how to retrieve keyboard input and send the results of computations to the computer screen.

Chapter 3, Data Types and Variables, discusses the different ways to store data in the computer memory during the program execution.

Chapter 4, Decision Branching, talks about how to build different pathways inside of our code based on an external environment such as input from the user.

Chapter 5, Iteration, shows how to repeat sections of code either a fixed number of times or until an environment is in a certain state.

Chapter 6, Functions and Procedures, dwells on modularizing sections of code for reuse. This makes it easier to have fewer bugs by only having one copy of code that does a specific thing.

Chapter 7, Project Part I, enables you to apply the programming skills you have learned to this point.

Chapter 8, Formatting and Modifying Data, explores the concept of rearranging data to use for display or for saving externally.

Chapter 9, File Input and Output, shows how to read and write data from and to files on the disk drive.

Chapter 10, Collections, discusses storing multiple values in one variable and then accessing those variables in code.

Chapter 11, Project Part II, provides an opportunity to apply the programming skills we have learned up to this point.

Chapter 12, Object-Oriented Programming, deals with arranging code into objects. Each object can have a state and actions it can perform.

Chapter 13, Inheritance, teaches us how to reuse code through the creation of taxonomies where we specify generic functionality higher in the tree.

Chapter 14, Polymorphism, shows us how to allow VB to execute the proper version of a method at runtime based on the context of the running program.

Chapter 15, Interfaces, explores code reuse through the definition of contracts for implementations that can be developed later but executed by our code.

Chapter 16, Project Part III, allows us to apply the programming skills we have learned up to this point.

Chapter 17, The Request and Response Model, discusses the web application communication model and how we send messages between partitions of our application.

Chapter 18, Variable Scope and Concurrency, explores handling multiple users on a web application.

Chapter 19, Project Part IV, provides a final opportunity to try out what we have learned.

Chapter 20, Conclusions, reviews the topics covered and suggests further learning and projects.