Murach's Beginning Visual Basic .NET

This chapter shows how to work with constants and enumerations, data validation, shared members of .NET classes, Visual Basic functions, and For...Next and Do loops.

Chapter 4 Visual Basic language essentials (part 2)
How to work with constants and enumerations 118
How to declare and work with constants 118
How to declare and work with enumerations 120
How to use shared members 122
An introduction to .NET shared members 122
How to use some of the methods of the Math class 124
How to use the Show method of the MessageBox class 126
How to use Visual Basic funtions 128
A summary of the Visual Basic funtions 128
How to use the IsNumeric funtion for data validation 130
How to use three of the formatting functions 132
The Invoice Total application with data validation and formatting 134
The code for data validation 134
The code for formatting 134
How to code loops 136
How to code For...next loops 136
How to code Do loops 138
Debugging techniques for programs with loops 140
The Future Value application 142
The form design and properties 142
The code for the Future Value applications 144
Two ways to provide data validation 146
Perspective 148
t




Murach's Beginning Visual Basic .NET

Learn more about this book

Add this book to your cart