A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Add-In works in Excel and Word, but not Outlook



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 15th 06, 11:32 PM posted to microsoft.public.outlook.program_addins
KenRoy
external usenet poster
 
Posts: 2
Default Add-In works in Excel and Word, but not Outlook

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.
  #2  
Old November 16th 06, 04:17 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

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.


  #3  
Old November 16th 06, 10:31 PM posted to microsoft.public.outlook.program_addins
KenRoy
external usenet poster
 
Posts: 2
Default Add-In works in Excel and Word, but not Outlook

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.



  #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.




 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I copy Distribution List into Word or Excel? Dale Watson Outlook - Using Contacts 11 March 17th 07 01:14 PM
why my Excel attachment to email opens with Word? AJ Outlook - General Queries 3 August 23rd 06 08:08 PM
How do I add apps to Journaling other than Access, Excel, Powerpoint, & Word? Chris Kinata Outlook - Calandaring 3 August 23rd 06 03:29 PM
Can you import contacts from Outlook to Excel, Access, Word &how? ericsayang Outlook - General Queries 1 February 2nd 06 07:39 PM
olmailitem from word or excel MarcoPolo Outlook and VBA 2 January 27th 06 04:42 PM


All times are GMT +1. The time now is 10:19 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.