> Hello,
>
[quoted text clipped - 15 lines]
> As it would have to do it in VB2005?
> if I execute the Type Ensam is Nothing
The above works for me - are you sure your classes haven't got
themselves nested inside some other class?
Try creating an instance of one directly and see what Type it thinks it is:
Dim c2 as New Class_2
Debug.Writeline( c2.GetType().ToString() )
HTH,
Phill W.
Jordi Julià - 03 Nov 2006 15:31 GMT
Hello,
I have proven what you have said to me and:
Dim c2 As New Class_2 '(Class_2 exist in
Project)
dim Name as string = c2.GetType().ToString 'Name="Project.c2"
Dim ensam As Type = Type.GetType(Name) 'ensam = Nothing
Because 'ensam' Nothing has left?
Thanks!
>> Hello,
>>
[quoted text clipped - 29 lines]
> HTH,
> Phill W.