Dennis,
When you do this, than are programlanguages as VBA or JS the best for that.
However VBNet is made to create good working executes in runtime.
Just my thought
Cor
"Dennis" <(E-Mail Removed)>
>I want to pass a variable to a Procedure and have that function instantiate
> an instance of that class. For example, I have a Class named "myClass":
>
> CreateInstance ("myClass")
>
> Sub CreateInstance (classname as string)
> Dim newinstance as classname
> .....
> End Sub
>
> Is there anyway that I can do this?
> --
> Dennis in Houston
|