AccessViolationException - me.close from ribbon button (VB and CS)

Apr 5, 2011 at 5:11 PM

When attempting to close/exit the application using me.close() on any ribbonButton, the following error occurs.  This happens in both VB and CS.  This was tested with consistent results using the sample application 03-MenuDropDown, and other projects I created.

In debug mode in Visual Studio, the error is:

AccessViolationException was unhandled

Attempted to read or write protected memory.  This is often an indication that other memory is corrupt.


When running the application from Windows, the error is:

_03_MenuDropDown has stopped working

-> Check online for a solution

-> Close the program

-> Debug the program


Apr 5, 2011 at 9:39 PM

Asked and answered :)

Apr 5, 2011 at 9:49 PM


Thank you.  Sorry I missed that.