i created a ribbon wich worked for a while, but since yesterday i have an error report.
I reduced the code to have the simpliest thing, though it still doesn't work.
(i have attached the error message i get).
Here is my .cs file :
public class MyRibbon : ExcelRibbon
public void OnButtonPressed(IRibbonControl control)
MessageBox.Show("Hello from control ");
and here is the .dna :
<DnaLibrary Name="ClassLibrary6 Add-In" RuntimeVersion="v4.0">
<ExternalLibrary Path="ClassLibrary6.dll" LoadFromBytes="true" Pack="true" />
<Reference AssemblyPath="System.Windows.Forms.dll" />
<tab id='CustomTab' label='My 2010 Tab'>
<group id='SampleGroup' label='Test on 2010'>
<button id='Button2' label='Test 2' imageMso="GetExternalDataFromWeb" size='large' onAction='OnButtonPressed'/>
And as a reference i have added : excelDna, System.windows.Forms
I really do not understand, and did not find anything elsewhere.
Hope s-o can help.
Thanks for reading,
Have a good day !