Outlook 2002 COM Add-in with vb.net

B

bribonfi

I have created an add in using vb.net, it works great on my development machine. The problem is when i install on other machines, sometimes the control will not load at all. THe load behavior reg key gets changed to a 2 and the control never loads. No error no nothing. Does anyone know what is happening. I would appreciate any help. Sorry about the multiple post the one i did last night got an error and I accidenlty hit send for the first one i did today. :

THanks again
 
S

Siew Moi Khor [MS]

Hi,
If the LoadBehavior changed from 3 to 2, it means most likely something went
wrong OnConnection. When that happens, Office will automatically reset the
LoadBehavior. Try adding a try...catch block in the OnConnection method to
trap the exception.

Wondering if you might be missing the Office XP PIAs:
http://www.microsoft.com/downloads/...1E-3060-4F71-A6B4-01FEBA508E52&displaylang=en
Known issues:
http://msdn.microsoft.com/library/en-us/dnoxpta/html/odc_piaissues.asp

Siew Moi
---
This posting is provided 'AS IS' with no warranties, and confers no rights.
Sample code subject to http://www.microsoft.com/info/cpyright.htm


bribonfi said:
I have created an add in using vb.net, it works great on my development
machine. The problem is when i install on other machines, sometimes the
control will not load at all. THe load behavior reg key gets changed to a 2
and the control never loads. No error no nothing. Does anyone know what is
happening. I would appreciate any help. Sorry about the multiple post the
one i did last night got an error and I accidenlty hit send for the first
one i did today. :)
 

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