Hi,
In Microsoft Visual Basic, how can I call an object by building its name at run time?
for example, I wan to show a form (FORM1) by building its name at runtime as:
The following will work
===============
Dim f as Form
Set f = Form1
f.Show
===============
The following will not work, where I try to build the object name dynamically.
===============
Dim i as integer
i = 1
Dim f as Form
set f = "Form" & i
f.Show
===============
Can any body help me!
Thanks in advance