Add-in; Failure to get code to execute when toolbar button pressed

Discussion created by bridgfod on Nov 22, 2010
Latest reply on Nov 4, 2011 by scottdizzy

I had written several VBA routines up through 9.3 and have since upgraded to 10.  Since VBA will be a thing of the past in the next version, I downloaded and installed VB Express 2008 and successfully (I think) migrated the VBA to VB.Net 2008.  I saved out each of the routines to their respective *.vb files and ran the Add-In wizard for a new project, adding each routine as a button added to a toolbar.

Everything compiles and I get my toolbar to show up in ArcMap, but when I press any of the buttons, they grey out and nothing executes.  Similarly, the breakpoints I have inserted go hollow with a yellow triangle and when I hover over the breakpoint, it states that "The breakpoint will not currently be hit.  No symbols have been loaded for this document."

I think that somehow I am missing the magic of how to tie the XML stuff to the VB.Net code.  Is there any VB code that links the code back to the XML so it functions? 

Any insight is greatly appreciated.


Dale Bridgford