Contents

Which property of a form in Visual Basic is set to enable it as an MDI container?
a) MDIForm                        
b) IsMDIContainer
c) MDIEnabled  
d) MDIContainer

c

Explanation: The "MDIEnabled" property of a form in Visual Basic is set to enable it as an MDI container, allowing it to hold multiple child forms within it.


How can you pass data from the main form to a secondary form in a Visual Basic application?
a) By using the SendData method  
b) By setting public variables in the secondary form
c) By using the DataTransfer property
d) There is no direct way to pass data between forms.

b

Explanation: You can pass data from the main form to a secondary form in a Visual Basic application by setting public variables in the secondary form and then accessing and assigning values to those variables from the main form.