Home / Visual Basic Tutorial / Creating simple application in visual basic / Structure Of A Visual Basic Application

Structure Of A Visual Basic Application

VISUAL BASIC Application (Project) will be of .VBP extension and related forms are saved with .frmextension. A Simple VISUAL BASIC Project (.VBP).
Visual Basic Application (Project – saved as a file with .VBP extension) is made up of:
1. Forms
Windows that you create for user interface (saved as a file with a .FRM extension)
Graphical features drawn on forms to allow user interaction (text boxes, labels, scroll bars, command buttons, etc.) (Forms and Controls are also called objects.)
Every characteristic of a form or control is specified by a property. Example properties include names, captions, size, color, position, and contents.
Visual Basic applies default properties. You can change properties at design time or run time.
Built-in procedure that can be invoked to give some action to a particular object.
5.Event Procedures
Code related to some object. This is the code that is executed when a certain event occurs.
6.General Procedures
Code not related to objects. This code must be invoked by the application.