Procedures in modules can be declared as either Private, Friend, or Public.
- Private procedures can only be used by that module.
- Friend procedures can be used by that module and modules in the same project/component. Friend members must be declared with early binding. Friend procedures will not show in the type library of the class. Friend procedures cannot be made in Standard (.bas) modules.
- Public procedures can be accessed by that module, modules in the same project/component, and modules outside of the project, eg a program using the project/component. This is how you would create a method of a class.
Methods are usually named with verbs. EG: "Open" or "MoveNext".
Page Modified: (Hand noted: 2007-09-20 21:28:29Z) (Auto noted: 2007-11-17 06:36:56Z)