Download presentation
Presentation is loading. Please wait.
Published byDoris Carpenter Modified over 9 years ago
1
Introduction to Visual Basic Chulantha Kulasekere
2
VB IDE
3
Explanation of IDE Project: A collection of files for easy management. Standard.EXE: Should be used if the file is an executable. It will open a blank form to write your application.
4
VB Environment
5
Creating Your First Program Insert a LABEL and a COMMAND button on the form Double click on the FORM to open the CODE Window.
6
Creating Your First Program The drop down menues will show the items you inserted in the form. Procedure box Object box
7
Display Data OnClick
8
Writing a VB Application There are three basic steps to write a program. Step 1 : Design the interface Step 2 : Set Properties of the controls (Objects) Step 3 : Write the events' procedures
9
Writing the Application Insert three labels and change the names. Use the properties window to adjust the height and width. Insert three text boxes and given names as well. Insert a command button and also do the same. Change its name and caption to OK in the properties window. Change location to make GUI attractive.
10
Result
11
The Program
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.