0% found this document useful (0 votes)
54 views5 pages

Visual Basic Assignment

The document outlines a Visual Basic assignment divided into six classes, each with specific tasks for students to complete. Tasks include designing forms with buttons that change colors, toggling visibility of buttons, displaying messages, creating a calculator, and developing applications for student results and simple interest calculations. Additionally, students are tasked with creating an application to calculate age based on date of birth and determine voting eligibility.

Uploaded by

Jitendra Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views5 pages

Visual Basic Assignment

The document outlines a Visual Basic assignment divided into six classes, each with specific tasks for students to complete. Tasks include designing forms with buttons that change colors, toggling visibility of buttons, displaying messages, creating a calculator, and developing applications for student results and simple interest calculations. Additionally, students are tasked with creating an application to calculate age based on date of birth and determine voting eligibility.

Uploaded by

Jitendra Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Visual basic assignment

CLASS: 1
Introduction to visual basic: 1. First program in visual basic:

Double click on press me button

Output:

Exercise: 1. Design a form with six button , type the diff color name in the button caption property If you press any button, then button background color changed as caption color of button. 2. Two command buttons on the forms and showing and hiding the alternatively , When you press one button this will hide and another will showing ,again if you click on next button that will hide and first will show. 3. Design a form with one button and if you press that button it will show a welcome message.

Class 2:

Class 3:

1.Desing a form with a text box which accept any types of text and show in a msgbox.
2. Desing a form with a text box which accept any types of text and show in msgbox title bar.

3.Desing a form with a text box which accept any Sting and count the no of character in that string.

Class 4: 1. Design a Calculator with given detail :

Class 5:
1. Develop an application to prepare student result on the basis of marks entered . a sample screen shot is beign given below

2. Develop an application that accepts principal amount rate of interest and time from the user. Then it computes the simple interest and displays it.

Class 6:
Develop an application for accept the date of birth and show the current age as given date.

Q. Obtain age of a person and then display where he/she eligible for voting.

3.

You might also like