P
Patrick Schmid [MVP]
I have no idea what is going on...
I took an add-in for Office 2007 that I started in VS 2003, and imported
the whole thing into VS 2005. Then I added some custom .Net components
from Developer Express (devexpress.com) to the project.
I have a rather long list of references now: Accessibility, a bunch of
DevExpress components, Extensibility, Microsoft.Office.Core,
Microsoft.Interop.* (all ribbon app ones), stdole, System,
System.Drawing, System.Windows.Forms, System.XML. The setup program is
the one generated by VS 2005.
The add-in works fine on my development machine. But the moment I
install it on a different machine, it fails with a runtime error during
the loading of the COM add-in (that's what the com add-ins dialog says).
I tried it in Excel, PPT and Word. I tried displaying a message box in
the Connect and OnConnection events, but they didn't appear. So I am
thinking it crashes before it even gets into those methods, but I have
no idea what the heck it could be.
Any suggestions?
Thanks,
Patrick Schmid
I took an add-in for Office 2007 that I started in VS 2003, and imported
the whole thing into VS 2005. Then I added some custom .Net components
from Developer Express (devexpress.com) to the project.
I have a rather long list of references now: Accessibility, a bunch of
DevExpress components, Extensibility, Microsoft.Office.Core,
Microsoft.Interop.* (all ribbon app ones), stdole, System,
System.Drawing, System.Windows.Forms, System.XML. The setup program is
the one generated by VS 2005.
The add-in works fine on my development machine. But the moment I
install it on a different machine, it fails with a runtime error during
the loading of the COM add-in (that's what the com add-ins dialog says).
I tried it in Excel, PPT and Word. I tried displaying a message box in
the Connect and OnConnection events, but they didn't appear. So I am
thinking it crashes before it even gets into those methods, but I have
no idea what the heck it could be.
Any suggestions?
Thanks,
Patrick Schmid