Can You Tell Me That What Are Various Procedure Types In Visual Basic?
Can you tell me ?
1 Answer - Sort by: Date | Rating
There are commonly four types of procedures that are used in visual basic. These are as:
1. event procedures
2. visual basic procedures
3. sub procedures
4. function procedure
Event procedures are those that respond to the events of controls on the form modules. There are various controls (GUI components) that may be added to a form. Each control has some events (like clicking the control with mouse button or pressing a keyboard key etc) to which it reacts.
When one of these control events occurs, the relevant event procedure is called.
The visual basic procedures are used to perform some common tasks. These procedures (like; IIf, format$ etc) are built in, i.e. provided by Microsoft to facilitate the programmer. Programmer does not need to define his own procedure to perform some operations that are handled by these visual basic procedures.
If the programmer wants to perform a task that can not be done by any visual basic procedure available, then the visual basic allows the programmer to define a required procedure. The programmer defined procedure may be a function procedure or a sub procedure.The basic difference between a sub procedure and function procedure is that, a function procedure returns a value to the function caller while sub procedure does not returns any value.
1. event procedures
2. visual basic procedures
3. sub procedures
4. function procedure
Event procedures are those that respond to the events of controls on the form modules. There are various controls (GUI components) that may be added to a form. Each control has some events (like clicking the control with mouse button or pressing a keyboard key etc) to which it reacts.
When one of these control events occurs, the relevant event procedure is called.
The visual basic procedures are used to perform some common tasks. These procedures (like; IIf, format$ etc) are built in, i.e. provided by Microsoft to facilitate the programmer. Programmer does not need to define his own procedure to perform some operations that are handled by these visual basic procedures.
If the programmer wants to perform a task that can not be done by any visual basic procedure available, then the visual basic allows the programmer to define a required procedure. The programmer defined procedure may be a function procedure or a sub procedure.The basic difference between a sub procedure and function procedure is that, a function procedure returns a value to the function caller while sub procedure does not returns any value.
0
0
- What Was The First String Instrument In America?
- What Are The Differences Between System S/w And Application S/w?
- A Java Program To Get Sports Marks In Student Package And Print Total Marks Of Student?
- What Causes A Current To Turn In Loops?
- 2. Write A Program To Perform The Following Operations On Strings Through Interactive Input. A) Sort Given Strings In Alphabetical Order. B) Check Whether One String Is Sub String Of Another String Or Not. C) Convert The Strings To Uppercase?
- How To Write Singly Linked Lists Program In C++?
- What Are The Different Parts Of A Wordpad?
- The Project Aims To Implement A JAVA Parser? 1- Classes And Functions 2- Arithmetic/logic Expressions 3- If Statement
- How Do I Get A Sponcership For A Model?
- Why Organizations Use Archive MySQL Technology?
- Where Can I Find Source Code For Viruses Written In C Or C++?
- Write A Sub Program Random(data,n,k)which Assigns N Random Integers Between 1 And K To The Array Data?
- Explain Disadvantages Of Normalization With Examples?
- Why Vb Is Known As Event Driven Programming?
- Explain Thomas Write Rule In Sql & Database?
- What Is The Summary Of A Piece Of String?
- Show How The Efficiency And Integrity Of The Data Is Maintained At All Times Although Database Is Used By Persons At Varying Organizational Levels In Management Information Systems?
- What Does Table Of Contents Mean?
- Describe The Four Generations Of Computer Programming?
- How To Create User Id?
- How Do I Find Cascading Style Sheets?
- What Is A Flowchart?what Are The Symbols Used In A Flowchart?
- When Css Exams Expected?
- . Write A Program In C++ To Accept The Order Of Two Matrices, Check For The Possibility Of Multiplication, And Perform The Multiplication?
- How To Install File Server?

New Comment - Comments are editable for 5 min.