I am using ARCObject SDK in visual studio 2010 and C#. I want to check if a file geodatabase exist in a given folder. i have sued following code to create a personal filegeodatabase or .gdb file .Here is my code:
IWorkspaceFactory workspaceFactory = new FileGDBWorkspaceFactoryClass();
workspaceFactory.ContainsWorkspace(wrkspcpth, "MyMediaPlayer.gdb");
and now i want if this file exist it not re created. Any suggestion how to check if the a given geofiledatabase already exist.
regards
nadeem
IWorkspaceFactory workspaceFactory = new FileGDBWorkspaceFactoryClass();
workspaceFactory.ContainsWorkspace(wrkspcpth, "MyMediaPlayer.gdb");
and now i want if this file exist it not re created. Any suggestion how to check if the a given geofiledatabase already exist.
regards
nadeem