Database functionality is made easy by using data controls that allow the user to Bind objects and data to add on databases. Properties of the data control are set to identify the data to be used. When the form is opened, the data are retrieved and controls on the form can be populated with data. Class modules in Visual Basic are modules that can contain the definition for a new object. When a new instance of a class is created, the new object is created.
Any procedures defined in the module become the properties and methods of the object.
This functionality gives developers greater control of their application code and gives them the ability to create reusable components more easily. The debugging environment in Visual Basic provides the developer with breakpoints, watch variables, an immediate pane, and a Calls window to trace open procedures. The most popular debugging tools stepping through code while displaying watch variables or executing statements in the immediate window are combined and visible in a single window. The two panes of the Debug window closely mirror the information that developers need while debugging. The bottom half is a fully functional Code Editor, while the top half toggles between a watch window and an immediate pane.