This document was published with and applies to ArcGIS 9.3.
A 10 version also exists. A 9.2 version also exists.
A 10 version also exists. A 9.2 version also exists.
| Development licensing | Deployment licensing |
|---|---|
| ArcView | ArcView |
| ArcEditor | ArcEditor |
| ArcInfo | ArcInfo |
How to use
See Using the samples for help on compiling, setting up the debugger, and running the sample (either an exe or dll).
- Open and compile the sample project in Visual Studio. Set up debug application if needed.
- This sample works in ArcMap, ArcScene, or ArcGlobe. Open any of the applications.
- Turn on the Recent Files (C#) or Recent Files (VB) toolbar from the Customize dialog box or toolbar list, depending on the language project you have compiled.
- Expand the Recent Files menu to interact with the command and MultiItem command to open any of the recently used documents.
- You can also open a document in the Recent Files list with the dropdown list tool control.
Additional information
When you run the toolbar created by this sample, you will see the following Command, MultiItem, and ToolControl:
| CommandRecentFiles.cs | Command displaying the recent files in a dialog box in OnClick |
| FormRecentFiles.cs | Form with a list box to select recent files to open |
| MultiItemRecentFiles.cs | MultiItem command listing the recent files as a group of items |
| RecentFilesRegistryHelper.cs | Helper class to look up registry to get a list of recently used files |
| RootMenuRecentFiles.cs | Custom menu |
| ToolControlRecentFiles.cs | ToolControl implementation showing recent files in a dropdown list |
| ToolbarRecentFiles.cs | Custom toolbar |
| CommandRecentFiles.vb | Command displaying the recent files in a dialog box in OnClick |
| FormRecentFiles.vb | Form with a list box to select recent files to open |
| MultiItemRecentFiles.vb | MultiItem command listing the recent files as a group of items |
| RecentFilesRegistryHelper.vb | Helper class to look up registry to get a list of recently used files |
| RootMenuRecentFiles.vb | Custom menu |
| ToolControlRecentFiles.vb | ToolControl implementation showing recent files in a dropdown list |
| ToolbarRecentFiles.vb | Custom toolbar |
Download the files for all languages