Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We use an ArcSDE 10 database. We would like to log all events to export data (ArcObject) in ArcGIS Desktop 10.

Do you have an idea? a sample (ArcObject)?

share|improve this question

You might try using IApplication.LockCustomization and pass it a class that you've written that implement ICustomizationFilter.

I think when the user right clicks on a featurelayer (or standalone table) and chooses Data>Export it will call ICustomzationFilter.OnCustomizationEvent, passing esriCEInvokeCommand. You should be able to cast eventCtx to ICommandItem and see what command was invoked. If it is the data export command you can log that somewhere.

I'm not sure how to determine if they actually click OK on the export dialog (and not cancel).

share|improve this answer
Thank for your quick feedback. I try this tomorrow. – Apr 2 '12 at 2:11
There are many other ways remain to perform export data like VBA code, geoprocessing tools, python console, 3rd party addins. – megadrofan Apr 2 '12 at 6:05
Perfect. I catch the export function with my extension but with geoprocessing tool, it's very complex to catch this.:( – Apr 3 '12 at 12:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.