I am currently stuck on a problem surrounding ArcGIS Explorer and comboboxes

What I am trying to do is use 3 comboboxes to do the following:

  1. View all features contained within ArcExplorer's table of Contents
  2. View the selected layers containing field names
  3. View unique attributes for the fields

All of these would go in 3 seperate comboboxes.

Would anyone have any suggestions on working through this?


I have not done any development with ArcGIS Explorer so this is just a suggestion, but take a look at the SDK help and just start tinkering. It looks like a pretty light weight API compared to ArcObjects so it shouldn't be too hard to put something together.

Start with the Mapping and Data namespaces and look at some of the "how-to's" such as How to create add-in projects and How to access data in a table.

For getting the unique values of a collection, you could use LINQ's Distinct operator or copy it into a HashSet. Since this is all basic .NET functionality I'd suggest doing some further research on your own on MSDN or StackOverflow and come back if you still have trouble.

It doesn't look like there is much activity on the tag though so you might have to be patient.

| improve this answer | |
  • Hi I have worked through a chunk of this but I have now become stuck at an sql query issue. I have posted a new question regarding this at this following link: gis.stackexchange.com/questions/22091/… If anyone has input regarding SQL or could see if they spot the issue in my code I would be much appreciative! – Cody Mar 21 '12 at 18:13

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