Visual Basic Objective Questions and Answers | Page-4

Questions
31 Extension of ActiveX designers ____________
A .dsr
B .axd
C .adx
D None of these

Answer: Option [A]
32 ________ indicates whether a particular condition is on or off.
A Text box
B Check box
C List box
D Combo box

Answer: Option [B]
33 __________ statement enables us to trap runtime error.
A Error
B On Error
C On runtime Error
D All of these

Answer: Option [B]
34 Frame Control acts as a __________
A Event
B Method
C Class
D Container

Answer: Option [D]
35 Form_Mouse Down( ) procedure is executed when any mouse button is clicked in a free area of the ______.
A form
B window
C screen
D None of these

Answer: Option [A]
36 ________ method removes a dialog box from view.
A Enabled
B Disable
C Hide
D Display

Answer: Option [C]
37 The ______ is a tool used for both the Input and output purpose.
A label
B text box
C Combo box
D command button

Answer: Option [B]
38 In visual basic the declaration of variables is done by _____ key word.
A int
B dim
C static
D declare

Answer: Option [B]
39 An object datatype can store _______ bytes.
A 1 byte
B 2 byte
C 4 byte
D 8 byte

Answer: Option [C]
40 ________ method is used to clear the contents of MSHFlexGrid control.
A Clr
B Cls
C RemoveItem
D Clear

Answer: Option [D]