G
Guest
Why won't either one of the below If expressiions evaluate to TRUE:
Dim ob As Object
ob = "This String"
If ob.GetType Is Type.GetType("String") Then
.....
End If
If ob.GetType is Type.GetType("Object) then
....
End If
I guess I just don't understand why a type isn't a type!
Dim ob As Object
ob = "This String"
If ob.GetType Is Type.GetType("String") Then
.....
End If
If ob.GetType is Type.GetType("Object) then
....
End If
I guess I just don't understand why a type isn't a type!