VB 6 Programming


Updated VB6 Program Slips 2015-16 


1) Write a VB program to find the prime numbers between 1 to100 and display it onto the form.

 2) Write a VB program to find Armstrong numbers between 1 to 1000 and display it onto the form using function.

 3) Write a VB program to find sum of digits of a given number till it reduces to single digit. Display the output using MsgBox (using function).

 4) Write a VB program to find sum of first and last digits of a given number. Display the output using msgbox

 5) Write VB program to place three text boxes onto the form at run time. Enter different strings in first and second textbox. On clicking to command button, concatenation of two strings should be displayed in third text box.

6) Write a VB program to display the reverse of a given number using function.

7) Write a VB program to display Fibonacci series up to given term (use InputBox)

8) Write a VB program to take one list box, it contains name of picture file. If you click on particular picture file name then corresponding picture should be display onto the picture box.

9) Write a VB Program to find Multiplication of two matrices.

10) Write a VB program to create standard toolbar on to the form.(Toolbar contains at least five buttons.)

11) Write a VB program to accept a number from user and calculate sum of even digits of a given number.

12) Design an application that contains one label button, two combo boxes, one box contains any text and second box contain color names. Write a VB program to set caption and background color to the label control from respective combo boxes.

13) Write a VB program to set picture to the command button at run time, if we click on button then it should display picture on that button, if we disable that button then another picture should display on that button.

14) Write a VB program to display age in year, month, days, hours, minutes, seconds.

15) Write a VB program to find the roots of quadratic equation.

16) Write a program in VB to display the status of mouse using label controls program should display current x, y positions of mouse. When user clicks left or right buttons label should indicate which button is pressed. Program should also indicates double click.

17) Write a VB program to display all even and odd numbers from an array.

18) Write a VB program to check whether given number is perfect or not by using ‘msgbox’.

19) Write program in VB to find factorial of a number using ‘msgbox’.

20) Write a VB program to convert a temperature from Celsius to Fahrenheit and vice versa.

21) Write a menu driven program in VB for i. Addition ii. Subtraction iii. Multiplication iv. Division

22) Write a VB program to check whether the given Armstrong number is present in array or not.

23) Write a VB program to accept the number from the user in text box and display multiplication table of that number into the list box

24) Write a VB program to create screen sever on the form.

25) Write a VB program to accept input from the user in text box and add that text into the list box by using command button.

26) Write a VB program to create menus of MS-Word and display it onto the form.

27) Write a VB program to display addition of two matrix.

28) Write a VB program to create status bar and display it on onto the form. (Status bar should have five panels to display any text, date, time, CPAS ON/OFF, NUM ON/OFF.

29) Write a VB Program to find transpose of a matrix.

30) Write a VB program to find whether given matrix is symmetric or not.

5 comments: