AnsweredAssumed Answered

How to use COM UI components in Visual Studio 2010 for ArcMap 10 extension?

Question asked by huangs3 on Jul 12, 2012
Latest reply on Jul 12, 2012 by geonetadmin
Hi Everybody:

    I am trying to use some UI components provided by ArcObjects 10 in my ArcMap 10 Extension developed under Visual Studio 2010, but was not successful. Following are the steps I did. Can you help me to see how should I make it work? Thank you!

1. Create an ArcMap extension with a draggable window.

2. In Visual Studio 2010, make a COM component UI tool available. In this test I chose MdListCtrl Class

3. Then drag and drop a MdListCtrl on to draggable window.

4. After compiling, I get two error messages.

5. An esriSearch reference is found. It is actually refering to ESRI.ArcGIS.System, which is already referred. I then deleted the esriSearch reference.

6. After compiling an error on resource file is found.

Is there anyway I can make it work?

Thank you!