PC Review


Reply
Thread Tools Rate Thread

COM Add-in vs. ActiveX

 
 
=?Utf-8?B?YWJsZWkyMDAw?=
Guest
Posts: n/a
 
      11th Jan 2004
What is the general recommendation when to use COM add-in vs. ActiveX (no reference to Microsoft Add-in designer)?
 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      12th Jan 2004
A COM addin can easily be distributed and runs in-process with
Outlook. It is usually the best way to add functionality to Outlook.
I'm not sure what you mean by an ActiveX. I use OCX's (ActiveX
controls) when I want to add a property page to Outlook.

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


"ablei2000" <(E-Mail Removed)> wrote in message
news:5151C0BA-37E7-4684-AD4A-(E-Mail Removed)...
> What is the general recommendation when to use COM add-in vs.

ActiveX (no reference to Microsoft Add-in designer)?


 
Reply With Quote
 
=?Utf-8?B?YWJsZUkyMDAw?=
Guest
Posts: n/a
 
      12th Jan 2004
Thank you, Ken
You have answered on my another question about the grid control on Outlook Form

My understanding is that if you are not referencing Microsoft Add-in designer library the
you are creating ActiveX dll. It doesn't handle directly the Outlook events. You have to call
public methods from Vbscript and pass the Item object to use this approac

thank you

 
Reply With Quote
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      13th Jan 2004
Even without a designer you can create a class module and Implement
IDTExtensibility2 to create a COM addin DLL. You just need to handle
the registration of the DLL yourself if you aren't using a designer.
You still need to Implement IDTExtensibility2 and handle all its
exposed events even with a designer.

You can also implement Outlook automation in a standalone program such
as an EXE, I do that all the time too.

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


"ableI2000" <(E-Mail Removed)> wrote in message
news:AFB6FC38-22A5-436E-8B2C-(E-Mail Removed)...
> Thank you, Ken.
> You have answered on my another question about the grid control on

Outlook Form.
>
> My understanding is that if you are not referencing Microsoft Add-in

designer library then
> you are creating ActiveX dll. It doesn't handle directly the

Outlook events. You have to call
> public methods from Vbscript and pass the Item object to use this

approach
>
> thank you.
>



 
Reply With Quote
 
=?Utf-8?B?YWJsZWkyMDAw?=
Guest
Posts: n/a
 
      14th Jan 2004
Thank you Ken.

We end up developing huge ActiveX Dll (about 8000 lines of codes)
to handle complex Outlook application – no COM add-ins. All the calls
into ActiveX made from very thin VBscript subs.

Thank you again,


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create an ActiveX in C# using other ActiveX created in VC++ =?Utf-8?B?TW9uaWth?= Microsoft Dot NET Framework 0 13th Jul 2007 06:54 AM
publish activeX combobox and other activeX control =?Utf-8?B?aXJlbmUgYw==?= Microsoft Excel Programming 0 19th Mar 2007 07:19 AM
activex settings prohibit running ActiveX controls Bob Hartung Windows XP Help 3 21st Jul 2005 05:49 AM
Q for Steve Lebans: RTF editing: To ActiveX or not to ActiveX? =?Utf-8?B?QnJhaW5sb3JkIE1lc29tb3JwaA==?= Microsoft Access Form Coding 1 19th Apr 2004 09:38 PM
activex in activex event handling S.Kartikeyan Microsoft C# .NET 2 26th Dec 2003 05:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:19 PM.