Question: do it all Maximum Marks 30 1. Write any four properties of command button. ( 4 marks) 2. List the various controls available in VB

do it all
do it all Maximum Marks 30 1. Write any four properties of

Maximum Marks 30 1. Write any four properties of command button. ( 4 marks) 2. List the various controls available in VB "Toolbox". (4 marks) 3. What is a variable and how to declare a variable in VB. Explain the different data types in VB. (4 marks) 4. Explain the usage of list box and combo box with suitable examples. . (4 marks) 5. What is the difference between implicit and explicit declaration in VB. Explain with examples. . (4 marks) 6. Assume that the three objects on the form were created in the order txtFirst, txtSecond, and IblOne. Determine the output displayed in IblOne when the program is rin and the Tab key is pressed. Note: Initially, txtFirst has the focus. ( 2 marks) a. Private Sub txtFirst_Leave(...) Handles txt First Leave IblOne.Forecolor = Color.Green IblOne.Text = "Hello" End Sub b. Determine the errors. (1 mark) Private Sub btnOutput_Click ( ...) Handles btnOutput.Click txtBox. Forecolor = Red End Sub c. Write a line of code to carry out the task. ( 3 marks) i. Display "E.T. phone home, " in IblTwo. ii. Display "Life is like a box of chocolates, " in red letters in txtBox. d. Write a program to carry out the stated task. (4 marks) When one of the three buttons is pressed, the words on the button are displayed in the text box with the stated alignment

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!