Manage Versions



Description:

This sample demonstrates a simple Version Manager that can be used from withing ArcMap or ArcCatalog. It displays the version in a tree structure based on lineage. It also allows users to create, delete, and modify versions.
Products:
ArcEditor: VB6

Platforms: Windows

Requires: Versioned GeoDatabase

Minimum ArcGIS Release: 9.0

How to use:
[VB6]
  1. Register VersionManager.VersionManagerCmd in the Component Category "ESRI Mx Commands"
  2. Register VersionManager.VersionManagerCmd in the Component Category "ESRI Gx Commands"
  3. Add the VersionManager.VersionManagerCmd command to the ArcMap/ArcCatalog GUI"
  4. If in ArcCatalog, select a VersionedWorkspace and then click on the Command
  5. If in ArcMap, select a VersionedWorkspace, FeatureLayer, FeatureClass, or ObjectClass and then click on the Command

Download the VB6 files
VersionManagerCmd.cls Object that implements ICommand that is used to bring up the Version Manager.
frmVersionManager.frm Form displaying the Versions that allows the user to navigate and update versions.
VersionManager.dll DLL file for the contained object.
VersionManager.vbp Project for the contained object dll.

Download the files for all languages



Key Libraries: Geodatabase
Key CoClasses:VersionedWorkspace
Key Interfaces: IVersionsWorkspace, IVersion, IVersionInfo
Key Members:IVersionedWorkspace.FindVersion, IVersion.CreateVersion, IVersion.DeleteVersion, IVersion.VersionInfo, IVersionInfo.Access, IVersionInfo.Description, IVersionInfo.VersionName