Which is not true about forms and controls in Visual Basic?

  1. They are pre-built.

  2. They are graphical objects.

  3. New versions of the classes must be created with each project.

  4. Buttons can be created with the drag and drop method.

  5. All of the above are true.


Correct Option: C
Explanation:

To solve this question, you need to have an understanding of forms and controls in Visual Basic.

Now let's go through each option and explain whether it is true or not:

A. They are pre-built: This option is true. Forms and controls in Visual Basic are pre-built objects that can be used to create a user interface for an application. These objects are already available in the Visual Basic environment and can be easily added to a project.

B. They are graphical objects: This option is true. Forms and controls in Visual Basic are graphical objects that can be visually designed and manipulated. They can be used to display information, receive user input, and perform various actions.

C. New versions of the classes must be created with each project: This option is not true. In Visual Basic, forms and controls are defined as classes, but you do not need to create new versions of these classes with each project. Instead, you can reuse the existing classes and customize them as needed.

D. Buttons can be created with the drag and drop method: This option is true. In Visual Basic, buttons (which are a type of control) can be easily created by dragging and dropping a button control from the toolbox onto a form. This allows for a simple and intuitive way of adding buttons to a user interface.

Based on the explanations above, the correct answer is:

C. New versions of the classes must be created with each project.

Find more quizzes: