View Single Post
 
Old 11-30-2010, 08:36 AM
shahbazlibra shahbazlibra is offline Windows 7 Office 2007
Novice
 
Join Date: Nov 2010
Posts: 1
shahbazlibra is on a distinguished road
Default PowerPoint Add-in fails to load in start up but loads successfully if load manually f

Hi Everyone,
I have developed a PPT COM Add-in using VisualStudio 2003. It works fine on Office 2003, 2007, 2010. We ported our code to Visual Studio 2010 and build again. It builds fine but give below error on most PPT (Standard Edition 2007, Professional 2003 etc) at start up and works fine for some PPT versions (Professional Plus 2007, Standard 2010) as well.
Load Behavior: Not Loaded. A runtime error occurred during loading of COM Add-in.
When I load the same Add-in manually using PPT options -> Add-in -> COM Add-in..... it loads properly and function correctly on any PowerPoint version 2003,2007,2010. I have tried following things:
- installed PIA (Primary Interop Assemblies)
- various levels of UAC
- Loading behavior (3). Although it goes back to (2) when fails to load at startup
- Dependencies DLL
- Macro settings
- Disable Item list in PPT Add-in
- Check registry entries ( they are same as we have, when we build using VS 2003)
- I created a new Addin in VS 2010 it loads properly and I compared project settings of my ported Addin and newly created Addin. It did not work.
Can any body help me with this. I was guessing may be it is not pointing to the right DLLs when auto loading and it does when manually loading BUT once I have manually load PPT should update itself to find the right DLL?? Not sure whats going on. Any help would be appreciated. Thanks.
Shabeeez
Reply With Quote