| Products: ArcView: VB6 Platforms: WindowsMinimum ArcGIS Release: 9.0 |
How to use:
- Run INSTALL.BAT to register DatabaseLayers.dll and assign objects to their proper component categories
- Start ArcMap
- Add the command "Save Layer to GeoDatabase" (under the category "Developer Samples") to the map.
- Connect to a GeoDatabase. If using SDE, connect as the user SDE.
- Add a FeatureClass coming from the GeoDatabase to the map.
- Alter the symbology in ArcMap to make it look as you'd like it.
- Select the layer in the table of contents
- Click on "Save Layer to GeoDatabase" command
- The Layer is now saved the the GeoDatabase
- To open the Layer from the geodatabase, navigate to the GeoDatabase and go into the folder titled "Database Layers"
| DatabaseLayerWorkExt.cls | Workspace Extension to hide tables in GeoDatabase |
| EnumBSTR.cls | Helper object used to hide tables in GeoDatabase |
| GxDatabaseLayer.cls | Gx Object implementing IGxLayer |
| GxDatabaseLayerDBExt.cls | GX Database Extension Object |
| GxDatabaseLayers.cls | GX Object implementing IGxObjectContainer |
| SaveLayerCmd.cls | Mx Command for saving Layer to the GeoDatabase |
| modGlobals.bas | Helper module where constants declared |
| DatabaseLayers.res | resource file for the contained object |
| DatabaseLayers.dll | DLL file for the contained object |
| DatabaseLayers.vbp | Project for the contained object dll |
Download the files for all languages
Key Libraries: GeoDatabase, Carto
Key CoClasses:FeatureLayer
Key Interfaces: IWorkspaceExtension, IWorkspaceExtensionControl, IGxDatabaseExtension, IGxObject, IGxObjectUI, IGxObjectEdit, IGxObjectContainer, IGxLayer, IMemoryBlobStream, IPersistStream, IFeatureLayer
Key Members:IPersistStream.Load, IFeatureLayer.FeatureClass
