Gunit2507
asked on
Dim a variable as a unkown type
I have a variable holding a type code that was set earlier
Dim MyType1 As TypeCode = String
Dim MyType2 As TypeCode = Boolean
Then I want to declare a variable using that type code
Dim MyVariable As MyType1 = ""
Dim MyVariable As MyType2 = 1/2/2006
Dim MyType1 As TypeCode = String
Dim MyType2 As TypeCode = Boolean
Then I want to declare a variable using that type code
Dim MyVariable As MyType1 = ""
Dim MyVariable As MyType2 = 1/2/2006
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
are u mean Declar variable As variable ???