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