Exam 7: Multiple Forms, Modules, and Menus

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

How do you insert a separator bar into a menu?

Free
(Multiple Choice)
4.8/5
(39)
Correct Answer:
Verified

A

Choose the statement below that performs the comment found on line 2 of the following code segment. Dim newStudentForm As New frmNewStudent() 'Initialize AcademicYear text box on NewStudent form to 1 NewStudentForm.ShowDialog()

Free
(Multiple Choice)
4.8/5
(32)
Correct Answer:
Verified

C

Once you create a form, you do not have to re-create it to use it in another project.

Free
(True/False)
4.8/5
(34)
Correct Answer:
Verified

True

What property must be set on a menu item to have the user activate that option by pressing Ctrl + C on the keyboard?

(Multiple Choice)
4.8/5
(37)

Standard modules are saved on disk as files that end with this extension.

(Multiple Choice)
4.8/5
(41)

The last form created for a Windows Forms application is designated as the startup form.

(True/False)
4.9/5
(34)

Explain the nature of the reference to errorForm in the following code: Dim errorForm As New frmError()

(Multiple Choice)
4.8/5
(32)

Which of the following statements disables the Copy menu item named mnuCopy?

(Multiple Choice)
4.9/5
(40)

When a VB application executes, its ______is automatically displayed.

(Multiple Choice)
4.9/5
(29)

Which of the following is not true about a form's Activated event?

(Multiple Choice)
5.0/5
(39)

When a ______form is displayed, no other form in the application can receive the focus until the form is closed.

(Multiple Choice)
4.9/5
(36)

The best way to maintain consistency when renaming a form is to __________.

(Multiple Choice)
4.8/5
(43)

A module-level variable declared Public is also known as a ______variable.

(Multiple Choice)
4.9/5
(44)

Which of the following statements will display the getStudentDataForm form in such a way that any code following the statement will not execute until the getStudentDataForm closes?

(Multiple Choice)
4.8/5
(30)

What is the best way to share functions across more than one project?

(Multiple Choice)
4.9/5
(37)

What is the result of the following section of code? Private Sub btnExit_Click(ByVal sender As System.Object, _ ByVal e as System.EventArgs) Handles btnExit.Click Me)Close() End Sub

(Multiple Choice)
4.9/5
(30)

Any form in a Windows Forms application can be designated as the startup form.

(True/False)
4.9/5
(46)

When creating a form in Visual Basic, code associated with that form is stored in a file with a _extension.

(Multiple Choice)
4.8/5
(46)

All of the following are true about standard modules except __________.

(Multiple Choice)
4.9/5
(33)

A form's ______event is triggered when the user switches to the form from another form or another application.

(Multiple Choice)
4.9/5
(43)
Showing 1 - 20 of 35
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)