Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Query for Methods & Procedures in the VB

Posted on 2004-04-15
2
Medium Priority
?
182 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 150 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month21 days, 7 hours left to enroll

804 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