AnsweredAssumed Answered

Test if IName Object is a Shapefile

Question asked by MickeyO-Neil on Apr 15, 2013
Latest reply on Apr 23, 2013 by MickeyO-Neil

ArcCatalog saves Objects as an IName Object in the Clipboard.

I want to test an Object if it is a Shapefile, a Table from a Geodatabase or a dBase-Table.
Dim pObject As Object pObject = pName.Open 'PName is the IName-Object from Clipboard  If TypeOf pObject Is IFeatureClass Then ... ElseIf TypeOf pObject Is ITable Then ... End If

It works, but it is not good enough. It could be any type of Table or Feature-Class.
Any idea how to test if the Object is exactly a Shapefile or dBase?