DOC: CallByName Documentation Error

ID: Q191216


The information in this article applies to:
  • Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, version 6.0


SUMMARY

The documentation for the CallByName function states that the first parameter is the "name of the object on which the function will be executed." This may be misleading when you use it with properties and methods of a Class. If you use CallByName with the properties and methods of a Class, the first parameter is actually an object variable reference and not the name of the Class. The object must be instantiated prior to using CallByName.

Additional query words:

Keywords : kbdocerr kbVBp600 kbGrpVB
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type :


Last Reviewed: January 5, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.