Important Questions

Q. Explain the basic controls in VB.NET?

Ans.
Basic Controls VB.Net provides a huge variety of controls that help you to create rich user interface. Functionalities of all these controls are defined in the respective control classes. The control classes are defined in the System.Windows.Forms namespace.
The following table lists some of the commonly used basic controls-

Sr.No. Widget & Description
1

Forms

The container for all the controls that make up the user interface.

2

TextBox

It represents a Windows text box control.

3

Label

It represents a standard Windows label.

4

Button

It represents a Windows button control.

5

ListBox

It represents a Windows control to display a list of items.

6

ComboBox

It represents a Windows combo box control.

7

RadioButton

It enables the user to select a single option from a group of choices when paired with other RadioButton controls.

8

CheckBox

It represents a Windows CheckBox.

9

PictureBox

It represents a Windows picture box control for displaying an image.

10

ProgressBar

It represents a Windows progress bar control.

11

ScrollBar

It Implements the basic functionality of a scroll bar control.

12

DateTimePicker

It represents a Windows control that allows the user to select a date and a time and to display the date and time with a specified format.

13

TreeView

It displays a hierarchical collection of labeled items, each represented by a TreeNode.

14

ListView

It represents a Windows list view control, which displays a collection of items that can be displayed using one of four different views.