• Skip to main content
  • Skip to primary sidebar
  • Skip to secondary sidebar
  • Skip to footer

Computer Notes

Library
    • Computer Fundamental
    • Computer Memory
    • DBMS Tutorial
    • Operating System
    • Computer Networking
    • C Programming
    • C++ Programming
    • Java Programming
    • C# Programming
    • SQL Tutorial
    • Management Tutorial
    • Computer Graphics
    • Compiler Design
    • Style Sheet
    • JavaScript Tutorial
    • Html Tutorial
    • Wordpress Tutorial
    • Python Tutorial
    • PHP Tutorial
    • JSP Tutorial
    • AngularJS Tutorial
    • Data Structures
    • E Commerce Tutorial
    • Visual Basic
    • Structs2 Tutorial
    • Digital Electronics
    • Internet Terms
    • Servlet Tutorial
    • Software Engineering
    • Interviews Questions
    • Basic Terms
    • Troubleshooting
Menu

Header Right

Home » VB » Basic » Explain Objects and Modules? What are the types of Modules in VB
Next →
← Prev

Explain Objects and Modules? What are the types of Modules in VB

By Dinesh Thakur

Objects : Objects are the real world entities. People, companies, employees, fan and ledger entries are all types of objects. In object-oriented terms, the word object is used to describe one specific thing like a car. Objects have an identity and this identity is defined with properties. A car has its name, model, cost and color.

 

Objects also do things. E.g. the car accelerates, races etc. The things an object can do are called its behaviours.

 

Objects can be anything that exists in real world. They can be conceptual things, such as engineering process or payroll. These conceptual things are not tangible but are conceptual. The same object-oriented concepts apply regardless of whether the object is based on the real world, on a concept, or on the implementation.

 

Modules: Modules are collection of code and data that function something like objects in objects oriented programming, but without defining OOP characteristics like inheritance, polymorphism etc. The concept behind modules is to enclose procedures and data in a way that hides them from the rest of the program.

 

The two main types of procedures used in VB :

 

Event and General : In VB event procedures are invoked in response to keyboard, mouse or system action. Your code can also explicitly invoke event procedures. The maximum number of events a control can have is fixed. Event procedures are stored in a form module and are private by default. A general procedure is not executed unless explicitly invoked. You can create a general procedure either by choosing the procedure from the insert menu or by typing the procedure heading Sub followed by the procedure name on a blank line.

 

Event and general procedures are further classified as : Sub & Function.

 

You’ll also like:

  1. Different Types of RAM? Explain in Detail
  2. Explain File System Architecture and its Types
  3. Adding the Contents of Two objects by passing objects as parameter.
  4. What are the Different Methods Used to Specify the Modules in Detailed Design
  5. How to Creating Objects and Allocate Memory for Objects in c++
Next →
← Prev
Like/Subscribe us for latest updates     

About Dinesh Thakur
Dinesh ThakurDinesh Thakur holds an B.C.A, MCDBA, MCSD certifications. Dinesh authors the hugely popular Computer Notes blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps.

Dinesh Thakur is a Freelance Writer who helps different clients from all over the globe. Dinesh has written over 500+ blogs, 30+ eBooks, and 10000+ Posts for all types of clients.


For any type of query or something that you think is missing, please feel free to Contact us.


Primary Sidebar

Visual Basic Tutorial

Visual Basic Tutorial

  • VB - File Types Purpose
  • VB - Events
  • VB - Ole
  • VB - Controls Properties
  • VB - Project Steps
  • VB - Pretest Vs Posttest
  • VB - IDE
  • VB - Record Set
  • VB - Common Dialog Box
  • VB - Val Function
  • VB - Sub Vs Function Procedure
  • VB - Terms
  • VB - User Interface Elements
  • VB - Objects and Modules
  • VB - Variable’s Scope
  • VB - Message Box
  • VB - Data Vs Data-bound Control
  • VB - Branching Statements
  • VB - Do/Loop and For-Next Loop
  • VB - Grid Control
  • VB - Error Types
  • VB - Looping Constructs
  • VB - Relational Vs Logical Operator
  • VB - Control Purpose

Other Links

  • Visual Basic - PDF Version

Footer

Basic Course

  • Computer Fundamental
  • Computer Networking
  • Operating System
  • Database System
  • Computer Graphics
  • Management System
  • Software Engineering
  • Digital Electronics
  • Electronic Commerce
  • Compiler Design
  • Troubleshooting

Programming

  • Java Programming
  • Structured Query (SQL)
  • C Programming
  • C++ Programming
  • Visual Basic
  • Data Structures
  • Struts 2
  • Java Servlet
  • C# Programming
  • Basic Terms
  • Interviews

World Wide Web

  • Internet
  • Java Script
  • HTML Language
  • Cascading Style Sheet
  • Java Server Pages
  • Wordpress
  • PHP
  • Python Tutorial
  • AngularJS
  • Troubleshooting

 About Us |  Contact Us |  FAQ

Dinesh Thakur is a Technology Columinist and founder of Computer Notes.

Copyright © 2023. All Rights Reserved.