1 / 11

Introduction to Visual Basic

Introduction to Visual Basic. Chulantha Kulasekere. VB IDE. Explanation of IDE. Project: A collection of files for easy management. Standard.EXE: Should be used if the file is an executable. It will open a blank form to write your application. VB Environment. Creating Your First Program.

crevan
Télécharger la présentation

Introduction to Visual Basic

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to Visual Basic Chulantha Kulasekere

  2. VB IDE

  3. Explanation of IDE • Project: A collection of files for easy management. • Standard.EXE: Should be used if the file is an executable. • It will open a blank form to write your application.

  4. VB Environment

  5. Creating Your First Program • Insert a LABEL and a COMMAND button on the form • Double click on the FORM to open the CODE Window.

  6. Procedure box Object box Creating Your First Program • The drop down menues will show the items you inserted in the form.

  7. Display Data OnClick

  8. Writing a VB Application • There are three basic steps to write a program. Step 1 : Design the interface Step 2 : Set Properties of the controls (Objects) Step 3 : Write the events' procedures

  9. Writing the Application • Insert three labels and change the names. Use the properties window to adjust the height and width. • Insert three text boxes and given names as well. • Insert a command button and also do the same. Change its name and caption to OK in the properties window. • Change location to make GUI attractive.

  10. Result

  11. The Program

More Related