I am developing addin for Outlook 2010 with Visual Studio in C #. I created a custom feed using a button. As soon as you click the button, it will load a form in which you can create a special purpose. It works fine on my development computer. But when I install it on another computer (without Visual Studio, but with the .net and vsto infrastructure installed), the ribbon with the button loads, but creating an instance of the form fails.
I created a form in my project called frmBZAppointment. This is my onclick listener button (which works fine on my computer, but not on another PC)
public partial class CustomerRibbon
{
private void butCustomAppointment_Click(object sender, RibbonControlEventArgs e)
{
MessageBox.Show("test 1");
frmBZAppointment frm = new frmBZAppointment();
MessageBox.Show("test 2");
frm.Show();
MessageBox.Show("test 3");
}
}
I have already completed this guide.
It would be great if someone understood what it could be.
EDIT:
"Microsoft Visual Basic PowerPacks 10" .