View Full Version : VB typeof operator

10-17-2007, 04:05 PM
How do I find out what type an object is in VB? It seems I can't use the typeof... that's only to check if it is an object of some type... but how do I query the classname or the type of object.

10-17-2007, 06:54 PM
See if the version of VB you're using supports GetType.

10-18-2007, 02:07 AM
I'm using VBA actually inside of an ESRI tool. I'll try it tho

10-25-2007, 12:36 AM
Try VarType(varname) (http://www.w3schools.com/vbscript/func_vartype.asp)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum