Get type

Carlos++

Active member
Joined
Sep 14, 2007
Messages
26
Location
As. Paraguay
Programming Experience
5-10
how can i do to get a class in run time to make set sentences in another class?
as a example:

i've got a form named as form1.
this form has controls, codes, etc. inside...
it's very easy to asign any kind of type to a variable

dim a as form1 ...

but what i need is to make that instuction when the program is running

other example


VB.NET:
class cl
     dim a as [type] '<- in this line i need the form1 class type to obtain a        'result like this: dim a as form1

end class

thanks for the help

disculpen el malisimo ingles (bad english speaker)
 
Back
Top