AnsweredAssumed Answered

Connect to Geodatabase Featureclass and/or shapefile

Question asked by ginomellino on Feb 10, 2013
Latest reply on Feb 16, 2013 by ebader-esristaff
Hi All,

This is probably very simple. I can load a geodatabase featureclass with IWorkspace::OpenFromFile and the FileGDBWorkspaceFactory CoClass and likewise with ShapefileWorkspaceFactoryClass for shapefiles...is there a way to load both with the same generic workspace factory or do I have to set a different one based on what is selected in my custom Add data dialog?

Thanks in advance
Gino

Outcomes