How To Use the CallByName Function to Run a Procedure (186143)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q186143 SUMMARY
The CallByName function provides Visual Basic 6.0 with the ability to call
a property or method of an object using a string at run-time. Unlike the
previous versions of Visual Basic in which methods and properties had to be
known at design-time, the CallByName function allows for a great deal of
flexibility at run-time. The use of this function is limited to OLE servers
and Visual Basic class modules.
Modification Type: | Minor | Last Reviewed: | 7/13/2004 |
---|
Keywords: | kbhowto KB186143 |
---|
|