Table of Contents
Vb Net MCQ | Visual Basic MCQS
VB NET MCQ | VB MCQ | visual basic | visual basic programming | vb programming language | visual basic multiple-choice questions and answers | visual basic MCQs pdf | Windows Forms
Vb Net MCQ questions with answers
Q1 which of the following event occurs when the mouse pointer is over the control and a mouse button is pressed?
- MouseEnter
- MouseMove
- MouseDown
- MouseUp
Ans. The correct option is C.
Q2 which of the following is not a property of the MouseEventArga object?
- Buttons
- X
- Y
- Z
Ans. The correct option is D.
Q3 which of the following event occurs when the mouse pointer moves to and fro over the control?
- MouseMove
- MouseHover
- MouseWheel
- MouseLeave
Ans. The correct option is B.
Q4 which of the following event occurs when a key is pressed down while the control has focus?
- KeyDown
- KeyUp
- KeyPress
- KeyRelease
Ans. The correct option is A.
Q5 which of the following namespace contains the Form Class?
- SystemObject
- System.Windows.Forms
- System.Windows.Forms.Controls
- System.Windows
Ans. The correct option is B.
Dot Net Framework Multiple-Choice Questions
Q6 which of the following store’s binary executables?
- Obj
- AssemblyInfo.vb
- Resources.resx
- Bin
Ans. The correct option is D.
Q7 which of the following disables a Windows Form?
- Text
- Hide
- Enabled
- Disabled
Ans. The correct option is C.
Q8 The _____ method is used to display the dialog box at run time.
- ShowDialog()
- DisplayDialog()
- Show()
- Display()
Ans. The correct option is A.
Q9 The _____ control opens the browse for folder dialog box which lets the user select a folder.
- OpenFileDialog
- SaveFileDialog
- FontDialog
- FolderBrowserDialog
Ans. The correct option is D.
Q10 Which of the following control enables the user to check if a file exists and then opens it?
- OpenFileDialog
- SaveFileDialog
- FontDialog
- FolderBrowserDialog
Ans. The correct option is A.
Q11 The _____ property indicates whether the read-only checkbox is selected.
- ReadOnly
- ShowReadOnly
- ReadOnlyChecked
- CheckedReadOnly
Ans. The correct option is C.
Q12 Which of the following property of the SaveFileDialog control retrieves or sets a value specifying whether or not the dialog box asks the user if it should create a file if the user specifies a non-existent file?
- OverwrirePrompt
- CreatePrompt
- OpenPrompt
- Prmpt
Ans. The correct option is B.
Q13 Which of the following property of the ColorDialog class retrieves or sets a value specifying whether or not the dialog box displays all available colors in the set of basic colors?
- ShowColor
- CustomColors
- Color
- AnyColor
Ans. The correct option is D.
Q14 Which of the following property obtains or sets the time (in milliseconds) before the tooltip appears?
- AutomaticDelay
- AutoPopDelay
- IntialDelay
- ReshowDelay
Ans. The correct option is A.
Q15 Which of the following property specifies the period of time the ToolTip text remains visible if the pointer is kept over a control?
- AutomaticDelay
- AutoPopDelay
- IntialDelay
- ReshowDelay
Ans. The correct option is B.
dot net MCQ | dot net framework | dot net multiple choice questions with answers | multiple-choice questions | MCQ questions with answers
Microsoft net framework | net interview objective questions | dot net 2.0 | dot net framework 2.0 download | dot net framework 3.5 | Dotnet 4.5 | dot net framework 4.0 net framework 2.0 | net framework 4.5 | multiple-choice questions | dot net framework | MCQ questions | MCQ questions with answers