Visual Basic Test
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 77% Most missed: “What does the forms collection contain?”
Visual Basic Test
Time left 00:00
25 Questions

1. What is the sequence in which the following events are triggered when a form is loaded?
2. To save a file in a RichTextBox Control and a picture in a Picture Box Control - you will use the _________ and __________ statements - respectively:
3. Which event is triggered when the user moves to another open form?
4. Labels do not respond to _____ and ______ events.
5. Which of the following is an event of the Shape control?
6. Which event of an ActiveX control data provider runs every time a bound control extracts data through the provider?
7. You want to display the code and the description of an error. What would be the correct syntax?
8. If one needs to use an ampersand(&) in a Label but does not want it to be an Access Key - the _______ property of the label must be set to False.
9. Which of the following is the valid stepping option?
10. A prepared statement is:
11. What data type is the HelpContextID?
12. In order to access a file in Non-textual format - you have to open file in:
13. Which of the following ADO recordset types provides the greatest degree of concurrency?
14. In order to enable the DBGridControl or the MSFlexGrid Control to display the contents of a table or query - you need to set only the ______ property:
15. What is the purpose of the Class Builder add-in in Visual Basic:
16. To store pictures in an array - Visual Basic provides the _____ control.
17. The ______ function can be used to run any .com - .exe - .bat or .pif file from a Visual Basic program.
18. Which of the following statements should you write to cause the component to fire an event?
19. The settings for the Color properties in Visual Basic are indicated by:
20. Which event should be used to resize an ActiveX control as the user modifies the size of the control implementation on a form?
21. The _______ function enables a VB application to make use of the idle time and to respond periodically to events.
22. Which three methods does the collection object support?
23. The event Lost_Focus of one object results in _____ of the other object:
24. Which of the following situations would not cause the Initialize event of an ActiveX control to occur?
25. The vbCritical symbol displays: