I am just going through the "Building custom UI elements using add-ins" walkthrough. ArcGIS integrated development environment (IDE) is installed. No problems creating the ArcMap Add-on project until i get to the part where i am suppose to RIGHT-CLICK in the editor window and select the ArcGIS Snippet Finder...

There is no ArcGIS Snippet Finder on the shortcut menu that pops up (see attached)

An example of what i should be seeing is here: http://help.arcgis.com/en/sdk/10.0/a...0000036s000000

Where is the Snippet Finder?

alt text

| improve this question | | | | |
  • Do you have the Desktop and Engine SDK installed on your box (is that what you mean by "ArcGIS integrated development environment (IDE) is installed")? – Chad Cooper Oct 25 '10 at 20:32
  • Yes Installed. (The ArcGIS Visual Studio IDE Integration Framework is an optional installation feature included with the ArcObjects software development kit (SDK) for .NET) More here:help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/… – Jakub Sisak GeoGraphics Oct 25 '10 at 20:42
  • Is it possible to install the SDK without the Snippet Finder? If so would you recommend re-installing? – Jakub Sisak GeoGraphics Oct 25 '10 at 20:45
  • I notice you are using VS Express...could that have anything to do with it? – Chad Cooper Oct 25 '10 at 20:51
  • Apparently VS Express is fully supported. Perhaps not? – Jakub Sisak GeoGraphics Oct 25 '10 at 21:04

Saw a few posts about this on the ESRI forums. This one in particular mentions:

for Visual Studio Express 2008/ArcGIS 10; - in VS, click on Tools>Code Snippets Manager - Click on Add... and browse to C:\Program Files\Microsoft Visual Studio 9.0\Common 7\IDE\VBExpress\Snippets\ArcObjects - Click OK and OK - ArcObjects will now appear in the "Insert Snippet" context menu

Does that work?

For ArcGIS10.1 with MS Visual Studio Express 2010 users, change the above path to C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\VCSExpress\Snippets\ArcObjects if using VC#, and presumably change VCSExpress to VBExpress if you're going down the VB route.

| improve this answer | | | | |
  • Thanks Simon. This seems to be the VBExpress version of the functionality although one can hardly call it a "Finder". (No my problem is finding the snippets without the search option) I have to admin my disappointment with ESRI in this regard and what they claim to be a "replacement" for VBA. VS Express is nowhere near, it seems more and more obvious to me that a full version of VS is required in order to migrate VBA to Add-Ins. – Jakub Sisak GeoGraphics Oct 26 '10 at 12:59
  • Simon, do you have any idea where I could find a 'list' of available snippets? – Jakub Sisak GeoGraphics Oct 26 '10 at 13:29
  • Found it. ArcObject->Mapping – Jakub Sisak GeoGraphics Oct 26 '10 at 13:44

I run into the same problem, and Simon's suggestion above pretty much helped my situation. A couple of extra steps I did:

  1. In VB Express, under tool, the option of "code snippet manager" was not visible. To access this option, I had to the settings under tool from "Basic Settings" to "Expert Settings".

  2. The path that Simon outlined above, in my case, was under C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\VCSExpress\Snippets\ArcObjects. The only difference being C:\Program Files (x86) vs. C:\Program Files.

I followed the steps above, and was able get access to "Arcobjects" snippets within VB Express 2010.

| improve this answer | | | | |
  • You just prevented a very heavy head-desk! Thank you. – alphabetasoup Apr 3 '15 at 0:38

Not sure if this was the case for you but, I read on the ESRI forum that for 9.3 they suggested a reinstall the SDK if VS2008 is installed after the SDK.

| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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