Addin error

D

David Kleyman

Hello

I am using Office 2003 and VB.Net to develop my outlook addin
I was in the process of debugging it and had installed and uninstalled it
several times
The code had a few bugs so it was generating error messages
Last time I've tried to run Outlook with my addin installed I guess Outlook
got "tired" of it and
popup a message box that sounded something like this
"Last time this <addin name> addin ran it produced a serious error. Would
you like to disable it"
it had "Yes" and "No" buttons.

Thinking that I am going to uninstall it and try again I pressed "Yes"
Big mistake
Now Outlook does not recognize any addins that I put together
They install fine but Outlook does not start them
I've tried everything. I even uninstalled and reinstalled the office it
still does the same thing

Any Ideas

Thank you

David
 
S

S.Vidyaraman

Thinking that I am going to uninstall it and try again I pressed "Yes"
Big mistake
Not really ! You just end up disabling the Addin, not uninstalling it. It
has happened to me when I tried an Addin in Word. I just had to uninstall
the Addin and reinstall it. If your addin isn't loading again at all (even
after Office reinstallation), there probably is something wrong with the
code that causes it to die prematurely. Try something simple like popping up
a dialog box on start and see if your Addin is there or not. Its probably
some bug .......
S.Vidyaraman
 
D

David Kleyman

I think it was! I can not use any addins that I put together even a simple
one with just one message box on startup
Outlook simply ignores it


-David
 
S

S.Vidyaraman

Hmm,
I guess if it doesn't even display a simple MessageBox ....... Well, try
this.... Look up the COM-Add-ins Button under Tools and see if your Add-in
is
(a) Shown there
(b) Is checked
Also Look at the Load Behavior. Hopefully that's the problem.

To get to the COM Add-ins, Go to Tools --> Customize. Click on the Commands
Tab and scroll down to the "Tools" category. You'll see the "COM Add-ins" on
the "commands" listed on the right. Drag the Button where you want it to.
Hope this helps.
S.Vidyaraman
 
D

Dave

I found it. Outlook've decided to put mscoree.dll in the disabled items list
I removed it from there and it works
Why did it decide to disable Microsoft .NET Runtime Execution Engine(thats
what it says in the comments of the dll) I don't know.

Thanks for your help

-David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top