Graphics Methods
Shows how to use the graphics methods of Visual Basic to create impressive graphical programs.
| Drawing lines and boxes with the Line method |
| Drawing circles, ellipses, and arcs with the Circle method |
| Using the AutoRedraw property and Form_Paint() procedure |
The Grid Control
Demonstrates how to use the grid control to display text in rows and columns in a Visual Basic program.
| Adding the grid control OCX to the toolbox |
| Changing cell width and height |
| Filling the cells of the grid |
Displaying and Printing
Teaches how to display and print information, display text in different fonts, format numbers, dates, and times, and send text and graphics to the printer.
| Using different fonts and styles |
| Using the Print and Cls methods |
| Placing text at a specific location |
| Formatting numbers, dates, and times |
| Using the PrintForm method to send data to the printer |
Interfacing with Windows
Demonstrates how to use Windows features like the Clipboard and idle loops within Visual Basic programs.
| Using the Windows clipboard to transfer data |
| Using idle time while a program executes to switch to another program |
| Using the DoEvents() function |
The Keyboard
Explains how programs can respond to keyboard events, how to detect whether a key was pressed or released, and how to manipulate the data that comes from the keyboard.
| Using the keyboard events |
| Detecting a pressed or released key |
| Intercepting keys |
| Setting the Cancel property |
| Setting the Tab order |
File-System Controls
Demonstrates how to use the file-system controls to select files in a Visual Basic program.
| Using the Drive list box |
| Using the Directory list box |
| Using the File list box |
Accessing Files
Shows how to create files, how to read data from files, and how to write data to files in a Visual Basic program.
| Accessing random access files |
| Accessing sequential access files |
| Accessing binary access files |
| Declaring a user-defined type |
|