AKSHAYA COLLEGE OF ARTS AND SCIENCE
Approved by Government of Tamil Nadu & Affiliated to Bharathiar University, Coimbatore
Class: II [Link]. CA Subject: VB (Practical)
PROGRAM-II Kinathukadavu, Coimbatore – 642109
Develop a VB program using List Box and Combo Box
Ex. No: 2 LIST BOX AND COMBO BOX
Date:
AIM:
To develop a VB program using List Box and Combo Box
ALGORITHM:
Step 1: Start the program.
Step 2: When Command1 is clicked, add the content of Text1 to List1.
Step 3: When Command2 is clicked, clear all items from List1.
Step 4: When Command3 is clicked, display the total number of items in List1 using
a message box.
Step 5: When Command4 is clicked, add the content of Text2 to Combo1.
Step 6: When Command5 is clicked, clear all items from Combo1.
Step 7: When Command6 is clicked, display the total number of items in Combo1
using a message box.
Step 8: End the process and display the output.
PREPARED BY Ms. R. LEKHA
AKSHAYA COLLEGE OF ARTS AND SCIENCE
Approved by Government of Tamil Nadu & Affiliated to Bharathiar University, Coimbatore
PROGRAM CODE:
Kinathukadavu, Coimbatore – 642109
OUTPUT:
PREPARED BY Ms. R. LEKHA
AKSHAYA COLLEGE OF ARTS AND SCIENCE
Approved by Government of Tamil Nadu & Affiliated to Bharathiar University, Coimbatore
Kinathukadavu, Coimbatore – 642109
RESULT:
The program was executed, verified and got the required output successfully.
PREPARED BY Ms. R. LEKHA