Solved

Query for Methods & Procedures in the VB

Posted on 2004-04-15
2
170 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
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now