laptop and a wrench

Bug

Method 'IWorkspaceFactory.GetWorkspaceName' does not work as documented.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM033198
SubmittedMarch 11, 2008
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.2
Program languageC++
Version FixedN/A
StatusFixed

Workaround

Pass the whole path to the file geodatabase in the parameter 'filenames' and pass anything in the parameter 'parentDirectory', e.g:Sub test() Dim pFileNames As IFileNames Set pFileNames = New FileNames pFileNames.Add "<a href="file:D:/Program" target="_blank">D:\Program</a> Files\ArcGIS\DeveloperKit\SamplesCOM\data\ServerData\Geoprocessing\usa_Data.gdb" Dim pWSF As IWorkspaceFactory Set pWSF = New FileGDBWorkspaceFactory Dim pWSName As IWorkspaceName Set pWSName = pWSF.GetWorkspaceName("anything", pFileNames) MsgBox pWSName.PathNameEnd Sub

Steps to Reproduce

Bug ID: NIM033198

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options