Essay
Assume that you are working on a VB project where you need to change the color of the text in a text box named InformationTextBox.The color is to be selected by the user of the project.Explain which CommonDialog component you need to add to your form,indicate where it appears,and write the code needed to change the color of the text box.
A.Add a ColorDialog component,ColorDialog1.
B.It will appear in the component tray.
C.This is the code to show the dialog box: ColorDialog1.ShowDialog()
This is the code to change the textbox font color -
InformationTextBox.ForeColor = ColorDialog1.Color
Correct Answer:

Verified
This is the code to change the...View Answer
Unlock this answer now
Get Access to more Verified Answers free of charge
Correct Answer:
Verified
View Answer
Unlock this answer now
Get Access to more Verified Answers free of charge
Q15: It is possible to create procedures that
Q16: When an argument is sent ByVal,a copy
Q17: Which of the following is not a
Q18: The default for passing arguments to function
Q19: If you right-click an object,what type of
Q21: You can pass arguments to sub procedures
Q22: A function procedure may perform an action,but
Q23: Explain the differences between ByVal and ByRef
Q24: When creating a menu,if an item named
Q25: You must declare the name of a