Visual Basic Objective Questions and Answers | Page-5

Questions
41 The _______ function returns a string stored in a variant data type.
A Chr.
B Str.
C Char.
D None of these

Answer: Option [A]
42 The __________ property is used in VB for maximum form at run time.
A caption
B window resize
C window status
D none of these

Answer: Option [C]
43 ___________ is property is used to hide the content in textbox with some symbols.
A Name
B Caption
C Hidden
D Password char

Answer: Option [D]
44 ___________ method is used to retrieve the stored text from the clipboard.
A Input
B Gettext
C Addtext
D Settext

Answer: Option [B]
45 _________ control displays current directory with any sub directories and allows the user to change directly.
A File list box
B Drive list box
C Directory list box
D All of the above

Answer: Option [C]
46 ________ control is used to represent the items in a hierarchical manner.
A Tree view
B Grid view
C Progress bar
D None of these

Answer: Option [A]
47 Which is not a property of the Common control class?
A Show
B Font
C BackColor
D ForeColor

Answer: Option [A]
48 Which symbol creates an access key in the text of a menu item?
A @
B &
C $
D #

Answer: Option [B]
49 __________ event occurs when a form loaded into the memory.
A Load
B Activate
C Initialize
D None of the above

Answer: Option [A]
50 _________ method is used to forcibly set the CPU focus to a particular control.
A Setfocus
B Gotfocus
C Lostfocus
D None of the above

Answer: Option [A]