Originally posted by: Descartes
There is no way to discern type of primitives (Integer, Long, Short, Boolean, ...) in such a manner. This is in stark contrast in "true" OO languages.
You can, however, discern the type of classes/user-defined interfaces using the following syntax:
Dim yourObject As New YourClass
If TypeOf yourObject Is YourClass Then
' ...
HTH