As stated above, you can call the GeoProcessor.You could also create a PGD and add it to your build, in code, simply copy from the assembly directory to which ever directory you wish and rename.' Create a file geodatabase workspace factory.Dim factoryType As Type = Type.GetTypeFromProgID("esriDataSourcesGDB.FileGDBWorkspaceFactory")Dim workspaceFactory As IWorkspaceFactory = CType(Activator.CreateInstance(factoryType), IWorkspaceFactory)' Create a file geodatabase.Dim workspaceName As IWorkspaceName = workspaceFactory.Create("C:\Data", "California", Nothing, 0)
Hello friends how can we create a new pgdb to a dynamic location .
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.