Solved

Query for Methods & Procedures in the VB

Posted on 2004-04-15
2
176 Views
Last Modified: 2010-05-02
Hi, Amit Verma this side,
can anybody tell me the Basic difference between Methods, Procedures , Functions and Subroutience
its very imp.
becoz im very much confused about for the same


Thanx

Amit Verma
0
Comment
Question by:amitverma12679
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 18

Accepted Solution

by:
Sethi earned 50 total points
ID: 10839857
Sub Routines and Procedures are different names for same thing.
Functions are those Sub Routines or procdures that return some value
Methods is a name given to a Sub Ruotine or Function. So method can either be a sub routine or a function.
0
 
LVL 17

Expert Comment

by:zzzzzooc
ID: 10841172
Methods are subroutines or functions that are linked to objects. For example, Move() would be a method of a control (visible controls atleast).

Procedures are considered either a subroutine or function. Basically just a general term.

Functions return values. (as said)

Subroutines don't. (as said)


0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question