hpet
asked on
Set statement
Hi,
what is best solution to solve this "problem":
-let's say you have a toolbar with some buttons on it
-let's say you have few ActiveX DLL's (each of them shows one form... for example)
Now, is there a way to create reference to it with Set <MyObject> = New <ClassName>
where MyObject and ClassName are strings read from pushed button's tag or description field? (for example)
I would like to automate all this, so i don't have to write too many IF's.
I would like that "Set MyObject = New ClassName" is build from strings and then executed?
Is there any way to do it? or is there any other better way of doing it?
Thanks already for your answers,
-Peter
what is best solution to solve this "problem":
-let's say you have a toolbar with some buttons on it
-let's say you have few ActiveX DLL's (each of them shows one form... for example)
Now, is there a way to create reference to it with Set <MyObject> = New <ClassName>
where MyObject and ClassName are strings read from pushed button's tag or description field? (for example)
I would like to automate all this, so i don't have to write too many IF's.
I would like that "Set MyObject = New ClassName" is build from strings and then executed?
Is there any way to do it? or is there any other better way of doing it?
Thanks already for your answers,
-Peter
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER