1) Define Visual Basic.
Answer | Visual Basic is a high level programming language developed by Microsoft.
Visual Basic is an Event driven programming language.
2) What do you understand by Visual Basic IDE?
Answer | Visual Basic IDE is commonly used in programming to describe the interface and the environment that we use to create own applications.
3) What is a Project in Visual Basic?
Answer | A project in Visual Basic is just like a book comprises of many chapters, all the programs created are organised and stored in a project.
.vbp is the extension of visual basic project.
4) Write the function of any five controls of visual Basic Toolbox.
Answer | The function of any five controls of visual Basic Toolbox are:-
1) Pointer :- It is used to select and resize/move an object.
2) Frame :- It contains a group of tools/control.
3) Check Box :- It displays a True/False or Yes/No Option.
4) Timer :- It executes the timer events at specified interval of time.
5) Picture Box :- It is used for graphics files.
5) What is the use of Menu bar in Visual Basic?
Answer | The use of Menu bar to displays the commands that are required to build an application. The main menu items have sub-menu items.
6) How will you add controls on a project? Write briefly.
Answer | We add controls on a project to follow the following steps:-
Steps-1 :- Select the any control from the tool box.
Steps-2 :- Supposed we select Command button and drag the control in the form area.
Steps-3 :- Default name is command1 appears on the command button. We make changed the properties of command button.
7) How will you execute your visual basic program?
Answer | We execute the visual basic program to follow the following steps:-
Steps-1 :- Open the project, then adjacent screen appears.
Steps-2 :- From the menu bar, click Run--> Start
Steps-3 :- The project is executed and we will see the adjacent window.
No comments:
Post a Comment