Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm brand new to ArcGIS and have only a year or two of programming experience. I know Java and a little C#. I have a Java app that processes geographical data. I need to have a button in ArcMap that, when you click it, sends map data to this Java app.

This task was already implemented in VBA; it's my job to translate it to something else since VBA is no longer supported in ArcGIS. Any thoughts on how to accomplish this? I'm not sure where to begin. I'm guessing either using the embedded Python console or the ArcObjects SDK for Java or .NET. Just want to see what someone with experience would recommend. Thank you.

share|improve this question
add comment

2 Answers 2

You can certainly do this using Python now in ArcGIS 10.1. Have a look at Python Add-Ins. You will also want to look at Creating a Python Add-In Button.

Hope this helps.

share|improve this answer
    
Thank you for your response. Are Python Add-Ins new to ArcGIS 10.1? I'm working with 10.0. –  Kyle M Nov 30 '12 at 6:28
    
Yes, they are new in 10.1. –  Fezter Nov 30 '12 at 6:31
    
Gotcha, thanks! –  Kyle M Nov 30 '12 at 7:22
add comment

Never a bad idea to start with the help and go from there: Developing with ArcGIS

At 10.0 you can create add-ins in either Java or .NET. These are simpler to deploy than traditional COM components, although those are sometimes necessary for some types of projects (See Extending ArcObjects for examples).

share|improve this answer
    
Great, thank you! Are you familiar with using Java for add-ins? I was trying to setup the ArcGIS stuff for Eclipse but I hit a snag. It's looking like I'm missing an ESRI CD that has important ArcGIS engine stuff. Does that sound right? –  Kyle M Nov 30 '12 at 7:32
    
You'll need to install the ArcObjects Java SDK from the ArcGIS installation media. You'll also probably want to get the latest service pack for both ArcGIS Desktop and the ArcObjects Java SDK from the ESRI site. –  blah238 Nov 30 '12 at 11:28
    
After that you'll want to follow the steps under Installing ESRI plug-ins (for Eclipse) and then How to create an add-in project in Eclipse. I had never done this before myself but I was able to create a Hello World add-in button without too much fuss. I am using 10.1 but I don't think much changed since 10.0 for Java. –  blah238 Nov 30 '12 at 11:30
    
Cool, sounds great. Thank you very much. –  Kyle M Dec 1 '12 at 1:25
add comment

Your Answer

 
discard

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.