Visual Basic

INTRODUCTION

Visual Basic is a programming language for creating applications with graphical features. It is inspired by old programming language QBasic. It provides a rich set of various constructs by which decision making and repetition can be done to produce desired outcome. Microsoft developed Visual Basic in May 1991. Visual Basic is a third-generation event driven programming language and Integrated Development Environment (IDE). It makes application with higher user interaction which consists of toolbars, menus, command buttons, dialog boxes, icon and pointers, etc. 

RELATED THINGS WITH VISUAL BASIC

Visual basic has a lot of versions after its invention. Visual basic 2008 is the most famous version in current time. Visual basic 2008 is a full-fledged Object-Oriented Programming language so it can simulate real world situation in an easy way by creating and relating objects according to given software problem.

STARTING VISUAL BASIC 2008

Start menu is used to start visual basic 2008.

  • Firstly, give step Start > All programs > Microsoft visual basic 2008 Express Edition.
  • Opening window of programming language will be opened.
The VB IDE consists of a few panes, namely:

  1. The Recent Projects Pane: It displays the list of projects that have been created by you in the recent past.
  2. The Getting Started Pane: It provides you with some helpful tips as to how quickly develop the applications.
  3. The VB Express Headlines Pane: It provides you with the latest online news, releases and updates about Visual Basic 2008 Express Edition.
EXECUTING PROJECT OF VISUAL BASIC 2008

Visual Basic IDE can run a Visual Basic project in three different ways.
  • Press f5 key on the keyboard.
  • Give the Command Debug > Start Debugging.
  • Click on the Start Debugging button on the standard toolbar.
Example: Suppose we have to add two numbers and display the output. Start Visual basic 2008 express edition and select windows forms application option. Here a blank form will be appeared in VB 2008 IDE. Now you should add 3 labels, 3 textboxes and 1 command button in the appeared form. You should arrange these controls now according to given picture.
SAVING A VISUAL BASIC PROJECT
After creating a project, it should be saved with a meaningful name so that it can be when it is required. Follow these steps to save a visual basic project.
  1. Click on File > Save Form 1. VB option. The Save File As dialog box will appear.
  2. Choose location where you want to save your form.
  3. Enter the name for the form and click Save button. It will display the Save project dialog box.
  4. Assign a project name and click on Save button. The project will be saved.
OPENING AN EXISTING PROJECT
You should follow the given steps to open an existing project in Visual basic 2008


  • Click on file > Open option. The 'open project' dialog box appears.
  • Find the project and select it.
  • Click on Open button. The selected project will open.
  • In the project window, choose the form which you want to open and click on open button.

AS4

MY NAME IS ______________ ALSO KNOWN AS AS4. AND I'M BASICALLY A STUDENT.

Post a Comment

IF YOU HAVE ANY DOUBT, PLEASE LET ME KNOW

Previous Post Next Post