View Single Post
  #4  
Old March 15th 06, 04:49 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default Create rule by script

There's a VB6 COM Add-In template here that can be useful to kickstart your
development:

Outlook COM Add-in Template:
http://www.microeye.com/resources/template.htm

There's also a full sample of a COM Add-In here that's a great learning
resource:

Items Command Bar:
http://www.microeye.com/resources/itemsCB.htm

For more info, see:

Developing COM Add-ins for Microsoft Outlook:
http://www.outlookcode.com/d/comaddins.htm

--
Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Louis" wrote:

Thanks,

The idea of the Outlook COM Add-In seems to be very attractive,
Have you a sample of code for outlook 2003 ?

Louis


"Eric Legault [MVP - Outlook]" wrote:

There is a Rules.dll that Microsoft provides, but it requires CDO and has
limited usefulness. Otherwise, you cannot create client side rules with
logon scripts or any kind of script for that matter

If you are using Exchange, this kind of processing is best done by an
Exchange Event Sink that runs on the server and doesn't require any client
deployment. Another option is to code the rules using an Outlook COM Add-In
that you can deploy as an .msi package to the clients.

--
Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Louis" wrote:

Hello,

I'm rookie and i want to create a rule under outlook to move emails with a
definite object to a specific folder under outlook.
As i have a large park of outlook client, i wish to use into the login
script of the user a script to add automatically this rule.

Is it possible ?

thanks,
Louis

Ads