Recordset Viewer

Description:

This sample application shows how to retrieve and display the records in a FeatureClass. It uses the GxDialog CoClass to allow the user to browse for a single FeatureClass data set. The FeatureClass is then passed to a procedure, ListRecords, that displays its records in a Microsoft ListView control. The ListRecords procedure uses a FeatureCursor object to step through the records in the FeatureClass.

How to use:
  1. Load the RecordsetViewer.vbp project into Visual Basic and run.

Application:
Standalone sample

Difficulty: Beginner


Visual Basic
File Description
Main.frm VB Form file with main display window.
SupportCode.bas VB Module file with supporting code.
RecordsetViewer.vbp VB Project File for sample.


Key CoClasses: GxDialog, GxFilterFeatureClasses
Key Interfaces: IGxDataset, IFeatureClass, IFeature, IFeatureCursor, IFields, IField