Visual Basic is a programming language that is designed especially for windows programming. This tutorial will step through and demonstrate some of the features of Visual Basic. It will explain most of the tools available for implementing GUI based programs. After introducing the basic facilities and tools provided by Visual Basic, we apply our knowledge to implementing a small VB program. Our program will implement a visual interface for a commonly know “stack” abstract data type.
Following are the visual basic.net topics covered in this VB.Net tutorial document.
- Programming Tools
- Tool Bar
- Tool Box
- Properties Window
- How to Begin
- Implementing the Visual Stack Program
- Step 1: “The Blank Form Properties”
- Adding an Icon
- Step 2: “Adding Objects to Our Form”
- Step 3: “Changing the Properties of the Controls.”
- Command Buttons:
- Pictures:
- Labels:
- Text Box:
- Menus:
- Adding New Forms
- Adding the Code to the Forms
- The Source Code:
- About Form:
- Definition Form:
- Stack Form:
- Stack Form Code:
- Text Box Code: Push:
- Pop:
- Peek:
- Initialize:
- Menu Code