View Single Post
  #4  
Old November 16th 06, 10:51 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Add-In works in Excel and Word, but not Outlook

Look at all the sample code at www.outlookcode.com. That may be the only
example of an Outlook addin shared with the other Office apps out there in
the wild.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"KenRoy" wrote in message
...
No, the OnConnection is not triggering.

I'm very new to Office Coding and found this shared addin example. I have
an outside app that I'd like to send an email to someone for approval.
I'd
like them to be able to open the e-mail and click a button to run some
code
which would "approve" the request.

Where would I find an example of a "non-shared" addin?
Thanks!

"Ken Slovak - [MVP - Outlook]" wrote:

You're going to have to run in debug mode to see what's wrong. See if you
get OnConnection and if you are getting through the button
initialization.
FWIW, I think it's a bad idea to use an Outlook addin as a shared addin
with
Word, Excel, PPT, etc. I do shared addins for the other apps but always
do
separate Outlook addins. There are just too many oddities and bugs in
Outlook's handling of things like OnDisconnection to make a fully shared
addin viable, in my opinion.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"KenRoy" wrote in message
...
The example "How to Build an Office COM Addin by using Visual Basic
.NET"
works in Word and Excel, but no events are triggered in Outlook
(http://support.microsoft.com/default...-us%3bq302896).
It
is
cut and pasted from the Step by Step Example in this article.

Thanks.




Ads