Hi,
Does anyone know the syntax to test for an object's type?
I'm writing a VB function that will do different things to an object that is passed in depending on it's type.
I know ObjectInQuestion.GetType will return the type but how does one test whether its a online or oncurve or on3dpoint etc?
Select Case ObjectInQuestion.GetType
Case Online
Case On3dpoint
End Select
The above returns an error.
Thanks.
Tags: