Visual Basic - Interface

Page 1

VISUAL BASIC


INTRODUCTION  In the mid-1960s BASIC, short for Beginner’s All-purpose Symbolic Instruction Code, started as a programming language for beginners to use.

 Other programming languages at that time such as

Fortran, COBOL and Assembler required more time and study before a person could use it.

 Over the years, BASIC improved while maintaining its simple nature.

 As Windows became popular as an operating system, Microsoft developed Visual Basic, a language based on BASIC, but more suited for use in the Windows environment.


INTRODUCTION  Visual Basic enables you to do many things that would require hundreds of lines in the old BASIC language.

 Since 1991, six versions have been released, with the latest Visual Basic 6 appearing in September 1998.

 Visual Basic 7 has been used today.



INTRODUCTION MENU BAR

 is placed under the Title Bar VB 6.0.  functioning as other Windows software whereby all activity in VB 6.0 can be controlled from the Menu bar.  By clicking one of the commands (e.g. File, Edit, View, Project, etc), menu that consists a line of commands will be opened.  Besides by clicking using the mouse users may also use the keyboard to open to execute certain command from VB 6.0.


INTRODUCTION TOOLBAR  Usually Toolbar is placed under the Menu bar.  These buttons represents the commands that are frequently used by the users.  Every button in the element offers a short-cut to attain certain command.  It is as a replacement of the Menu bar to choose certain command.  To know what each button represents, users can use the arrow of the mouse to the button and one brief explanation (known as ToolTip) will be shown.


INTRODUCTION TOOLBOX  On the left side of the Visual Basic window are two columns of buttons. This is the Toolbox. Each button on the toolbox is a tool that enables you to add all kinds of features to a Visual Basic program. You can read the ToolTip of each tool in the same way as for the Toolbar.


INTRODUCTION


INTRODUCTION FORM WINDOW  The Form window, title Form1, takes up the center part of the screen. It has a grid of dots. You design the appearance of a Visual Basic program in this window. You can use more than one form in your program. Each form represents a window in your application.


INTRODUCTION


INTRODUCTION PROJECT WINDOW  In VB 6.0 terminology, one project (program) can be combined with more than 1 Form window, Code Modules (usually written in a code window), and commands that has been set by the user (Custom Controls). One programs every object (e.g. Form, Code modules, Custom Controls) can only function when commands are written to them. The main role of Project Explorer window is to display all Form, Code Modules, Custom Controls in one project in VB 6.0.The Project window will display every details about the project that has been build by the users.


INTRODUCTION


INTRODUCTION PROPERTIES WINDOW  The properties window enables you to change properties such as colour, size, position and other aspects of an item on a Visual Basic program. The following shows the properties window for a form.


INTRODUCTION


INTRODUCTION FORM LAYOUT WINDOW  The Form Layout window shows you a preview of the location of the Form window relative to the sides of the screen when you run the program. You can move the location of the form by dragging it to another location in the Form Layout window.


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.