Type factoryType = Type.GetTypeFromProgID("esriDataSourcesOleDB.TextFileWorkspaceFactory");
Solved! Go to Solution.
Type factoryType = Type.GetTypeFromProgID("esriDataSourcesFile.TextFileWorkspaceFactory");
Type factoryType = Type.GetTypeFromProgID("esriDataSourcesFile.TextFileWorkspaceFactory");
Toly,
TextFileWorkspaces changed slightly in the 10.1 release of ArcGIS, if you modify your code in this way it should work in 10.1.Type factoryType = Type.GetTypeFromProgID("esriDataSourcesFile.TextFileWorkspaceFactory");
Hope this helps,
-Brent
I am doing this, but still having an issue opening my csv file. It doesn't really give me an error. Anyone run into this issue?
And I have tried it both ways (direct reference and by Type).