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

Sorting of plug-ins



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 7th 09, 08:53 AM posted to microsoft.public.outlook.program_addins
khai
external usenet poster
 
Posts: 13
Default Sorting of plug-ins

Hi,

Is it possible to sort the order in which plug-ins are being executed?
i.e. make one plug-in run before another?

Thanks.
  #2  
Old January 7th 09, 02:16 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Sorting of plug-ins

Not possible.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"khai" wrote in message
...
Hi,

Is it possible to sort the order in which plug-ins are being executed?
i.e. make one plug-in run before another?

Thanks.


  #3  
Old January 9th 09, 02:31 AM posted to microsoft.public.outlook.program_addins
khai
external usenet poster
 
Posts: 13
Default Sorting of plug-ins

What should I do then, if I have 2 plug-ins, but would like one to run before
another?

Do I have to combine these 2 plug-ins as one?

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

Not possible.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"khai" wrote in message
...
Hi,

Is it possible to sort the order in which plug-ins are being executed?
i.e. make one plug-in run before another?

Thanks.



  #4  
Old January 9th 09, 10:47 AM posted to microsoft.public.outlook.program_addins
khai
external usenet poster
 
Posts: 13
Default Sorting of plug-ins

Is it possible to write a wrapper plug-in to wrap the 2 plug-ins, and
therefore sequence the order in which these plug-ins are executed?

"khai" wrote:

What should I do then, if I have 2 plug-ins, but would like one to run before
another?

Do I have to combine these 2 plug-ins as one?

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

Not possible.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"khai" wrote in message
...
Hi,

Is it possible to sort the order in which plug-ins are being executed?
i.e. make one plug-in run before another?

Thanks.



  #5  
Old January 9th 09, 02:36 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Sorting of plug-ins

I'd probably just use one addin and do any sequencing of code operations as
desired in that one addin.

If you must have 2 or more addins you can initially set the ones that should
be loaded in order to have a LoadBehavior value of 2 in the registry. That
will prevent them from loading when Outlook starts. An addin that starts
normally would then do something like this when it wants to start the other
addins where olApp is your Outlook.Application object:

Dim oAddin As Office.COMAddIn
Set oAddin = olApp.COMAddIns("MyFirstAddin")
oAddin.Connect = True

That will start that addin. You can repeat for the other one with that one's
name.

To shut them down you'd use similar code but set Connect to False.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"khai" wrote in message
...
Is it possible to write a wrapper plug-in to wrap the 2 plug-ins, and
therefore sequence the order in which these plug-ins are executed?

"khai" wrote:

What should I do then, if I have 2 plug-ins, but would like one to run
before
another?

Do I have to combine these 2 plug-ins as one?


 




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
Outlook printing plug-in? Bob[_2_] Outlook - General Queries 3 August 8th 07 03:43 AM
Outlook Plug-in Leonardo Outlook - Installation 3 June 12th 07 11:16 PM
Is there a program or plug-in that does this? bobdydd Outlook - General Queries 4 January 17th 07 02:00 AM
Tasks plug-in with more options? Jack Black Add-ins for Outlook 1 February 14th 06 06:11 AM
Plug-in to display an icon alan Add-ins for Outlook 1 February 4th 06 05:56 PM


All times are GMT +1. The time now is 12:29 PM.


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.