VersionDifferences

Created:3/5/2002
Description:

ArcMap/ArcCatalog Command that allows users to see and report the differences in features between two versions

How to use:
  1. In the Customize dialog, click on 'Add from file' and select this sample's dll.
  2. Under the Commands tab of the Customize dialog, select the 'Version Report' command from the 'Developer Samples' category, and drag it on to a toolbar. Dismiss the Customize dialog.
  3. Select a Feature Layer that points to a versioned FeatureClass.
  4. Click on the 'Version Report'.
  5. In the version treeview, right-click on a version and set as the parent version.
  6. In the version treeview, right click on a version and set as the child version.
  7. Click on datasets tab and click on the FeatureDatasets/FeatureClasses to compare differences.
  8. Click on the 'Generate Report' button.
  9. Right-click on lines in the report to do things to the feature. For example: flash, identify, zoom, select and unselect.

Application:
ArcMap or ArcCatalog

Requires: Versioned GeoDatabase

Difficulty: Advanced


Visual Basic
File Description
clsDriver.cls ArcMap/ArcCatalog command to bring up the version differences reporting tool.
frmBitmap.frm For used to hold bitmap for the clsDriver Command.
frmVersions.frm Form for specifying what versions to compare and presents output to user.
modVersioning.bas Helper module with various versioning subs.
VersionDifferences.dll VersionDifferences executable.
VersionDifferences.vbp VersionDifferences project.


Key CoClasses: VersionedWorkspace, Table, FeatureClass
Key Interfaces: IVersionedWorkspace, IVersionInfo, IVersionedTable, IDifferenceCursor
Key Members: IVersionedWorkspace.FindVersion, IVersionedTable.Differences