by Almar Joling (9 Submissions)
Category: VB function enhancement
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (21 Votes)
CallByName can be used to call poperties/methods by their name (string).
This article will learn you how to correctly use the "CallByName" function, using two example programs. It will show how you can Get and Let properties, and how to call methods.
Great for scripting languages!
Download CallByName Calling Methods/Properties by their name (7 KB)