Assignment of VB
Assignment of VB
Point to be noted:
i) According to the user’s choice the Label with the text box will be changed.
(i.e. if he chooses Fahrenheit to Centigrade the first text box associated label
will be Fahrenheit and second text box associated label will be Centigrade)
ii) If user clicks on the close button in the form program will display a message
saying “Click on the Exit Button to exit”.
2. Develop a Program that will count the number of words written in a text box.
Output form of this program may like this. (Note the text box properties. It
supports Multi Line and Scroll Bars
3. Write a program that will accept a Word and check that the word is a palindrome
or not.
4. Develop a program that will accept Sentences and convert it into Upper Case/
Lower Case/Sentence Case / Title Case/Toggle Case according to the user’s
choice. Input form may look like this:
In this form user will enter a number in the 1st text box and get the changed
number in the text box2 according to chosen option from the List Box. Four options are
available in the list box
a. Reverse the Number It will reverse the given number.
b. Sum of its Digits it will find the sum the digits of the given number i.e.
if the given number is 532 output will be 5+3+2 , 10
c. Sum of its Digits cube. d. Refresh Clear the content of the text boxes.
Assignment 2
1. Develop a program that uses three Horizontal scroll bars to change the Red
Green Blue colors of two picture box. Each scroll bar has two events Change()
and Scroll(). Change event will change the Picture box 2’s back color and Scroll
event will change the back color of Picture Box 1’s Back color according to these
three scroll bar’s value.
Q3. Develop an image browser with stretch option using a common Dialog Box
Q4. Create a Progress Bar using line drawing in Picture box , with the progress bar
exhibiting all the VIBGYOR Colours.