View Full Version : VB typeof operator
10-17-2007, 05: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, 07:54 PM
See if the version of VB you're using supports GetType.
10-18-2007, 03:07 AM
I'm using VBA actually inside of an ESRI tool. I'll try it tho
10-25-2007, 01:36 AM
Try VarType(varname) (http://www.w3schools.com/vbscript/func_vartype.asp)
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.