P
Peter Ignarson
Hi, I am using Microsoft Access XP and have the following question.
This works.
Dim o As Object
Set o = New ClassTest
But I know the name, as a string, of the class I want to instantiate (I got
the string from using the Application.Modules property). So I want something
like this fictitious code
Set o = InstanceOfClassWhereNameIs("ClassTest")
I do need to do this. Can it be done? (in Java I would use reflection)
Thank you
Pete
This works.
Dim o As Object
Set o = New ClassTest
But I know the name, as a string, of the class I want to instantiate (I got
the string from using the Application.Modules property). So I want something
like this fictitious code
Set o = InstanceOfClassWhereNameIs("ClassTest")
I do need to do this. Can it be done? (in Java I would use reflection)
Thank you
Pete