Computer Science, asked by raj00722, 9 months ago

list the components of the IDE screen of visual basic describe

Answers

Answered by mehtapayal2000
4

Answer:

The Visual Basic IDE is made up of a number of components

1.      Menu Bar

2.      Tool Bar

3.      Project Explorer

4.      Properties window

5.      Form Layout Window

6.      Toolbox

7.      Form Designer

8.      Object Browser

Menu Bar:

1.      This Menu Bar displays the commands that are required to build an application.

2.      The main menu items have sub menu items that can be chosen when needed.

3.      The toolbar in the menu bar provide quick access to the commonly used commands and a button in the toolbar is clicked once to carry out the action represented by it.

Tool Bar:

1.      The Toolbox contains a set of controls that are used to place on a Form at design time thereby creating the user interface area.

2.      Additional controls can be included in the toolbox by using the Components menu item on the Project menu.

CONTROL                             DESCRIPTION

Pointer                                     Provides a way to move and resize the controls form

Picture Box                             Displays icons/bitmaps and meta files. It displays text or acts as a          visual container for other controls.

Text box                                   Used to display message and enter text.

Frame                                      Serves as a visual and functional container for controls

Command Button                   Used to carry out the specified action when the user chooses it.

Checkbox                                Displays a True/False or Yes/No option.

Option Button          :               Option Button control which is a part of an option group allows the   user to select only one option even it displays multiple choices.

List Box                                  Displays a list of items from which a user can select one.

Combo Box           :                  Contains a Text-box and a List Box. This             allows the user to select an item from the drop-down List Box, or to type in a    selection in the Text-box.

HScrollBar and VScrollBar  :  These controls allow the user to select a value within the specified range of values

Timer                                       Executes the timer events at specified intervals of time

DriveListBox           :               Displays the valid disk drives and allows the user to select one of them.

DirListBox                 :             Allows the user to select the directories and paths, which are displayed.

FileListBox                 :            Displays a set of files from which a user can select the desired one.

Shape                        :              Used to add shape (rectangle, square or circle) to a Form

Line                                         Used to draw straight line to the Form

Image                          :        used to display images such as icons, bitmaps and meta files. But less capability than the Picture Box

Data                        :                Enables the user to connect to an existing database and display information from it.

OLE                       :                 Used to link or embed an object, display and manipulate data from other windows based applications.

Label                    :                   Displays a text that the user cannot modify or interact with.

Project Explorer:-

1.      Docked on the right side of the screen, just under the toolbar, is the Project Explorer window.

2.      The Project Explorer as shown in in figure servers as a quick reference to the various elements of a project namely form, classes and modules.

3.      All of the object that makes up the application is packed in a project.

4.      A simple project will typically contain one form, which is a window that is designed as part of a program's interface.

5.      It is possible to develop any number of forms for use in a program, although a program may consist of a single form.

6.      In addition to forms, the Project Explorer window also lists code modules and classes.

Properties Window:-

1.      The Properties Window is docked under the Project Explorer window.

2.      The Properties Window exposes the various characteristics of selected objects.

3.      Each and every form in an application is considered an object.

4.      Now, each object in Visual Basic has characteristics such as color and size.

5.      Other characteristics not only affect the appearance of the object but the way it behaves too.

6.      All these characteristics of an object are called its properties.

7.      Thus, a form has properties and any controls placed on it will have properties too.

8.      All of these properties are displayed in the Properties Window.

Object Browser:-

1.      The Object Browser allows us to browse through the various properties, events and methods that are made available to us.

2.      It is accessed by selecting Object Browser from the View menu or pressing the key F2.

3.      The left column of the Object Browser lists the objects and classes that are available in the projects that are opened and the controls that have been referenced in them.

4.      It is possible for us to scroll through the list and select the object or class that we wish to inspect.

5.      After an object is picked up from the Classes list, we can see its members (properties, methods and events) in the right column.

6.      A property is represented by a small icon that has a hand holding a piece of paper.

7.      Methods are denoted by little green blocks, while events are denoted by yellow lightning bolt icon.

Object naming conversions of controls (prefix)

1.      Form -frm

2.      Label-lbl

3.      TextBox-txt

4.      CommandButton-cmd

5.      CheckBox -chk

6.      OptionButton -opt

7.      ComboBox -cbo

8.      ListBox-lst

9.      Frame-fme

10.  PictureBox -pic

11.  Image-img

12.  Shape-shp

13.  Line -lin

14.  HScrollBar -hsb

15.  VScrollBar -vsb

Similar questions