10.11.2013 Views

Using ArcCatalog

Using ArcCatalog

Using ArcCatalog

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Adding custom<br />

commands<br />

You don’t have to use VBA to<br />

create custom commands. In fact,<br />

in some cases, your custom<br />

commands may require you to<br />

use another development<br />

environment. You can create<br />

custom objects in any programming<br />

language that supports<br />

COM; see Exploring<br />

ArcObjects for details. Custom<br />

commands or toolbars created<br />

outside VBA are often distributed<br />

as ActiveX libraries (.dll<br />

files). Before you can add a<br />

custom command to the<br />

Catalog, you must ensure that<br />

either you or the installation<br />

process by which you acquired<br />

it registers its ActiveX DLL.<br />

After registering the file on<br />

your computer, you must<br />

register the custom objects it<br />

contains with <strong>ArcCatalog</strong>. You<br />

can add the custom command<br />

to any toolbar or menu.<br />

1. Click the Tools menu and<br />

click Customize.<br />

2. Click Add from file.<br />

3. Navigate to the file containing<br />

the custom command.<br />

4. Click the file and click Open.<br />

The Added Objects dialog<br />

box appears, reporting which<br />

new objects have been<br />

registered with <strong>ArcCatalog</strong>.<br />

5. Click OK.<br />

The custom commands<br />

appear in the Commands list<br />

for the appropriate category;<br />

a new category may be<br />

added to the Categories list.<br />

6. Click Close in the Customize<br />

dialog box.<br />

The custom commands appear in the Commands list for the<br />

appropriate category; a new category may be added to the list.<br />

2<br />

5<br />

6<br />

254 USING ARCCATALOG

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!