Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

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?

share|improve this question

closed as off-topic by PolyGeo Mar 19 at 7:35

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking help to debug/write/improve code must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Providing a clear problem statement and evidence of a code attempt will help others to help you. See: How to create a Minimal, Complete, and Verifiable example." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 1 down vote accepted

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.

share|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.