Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Vbscript to Change the default Calendar form used by Outlook

15 views
Skip to first unread message

Dipti Seth

unread,
Oct 29, 2009, 5:55:01 PM10/29/09
to
Hello,

I hope I am posting to the correct group.
We are trying to roll out a new Calendar form to all users globally. The
form is in the Organization Folder Library. I am trying to write a script to
change the default form used by Outlook to this new form. It turns out that
one can use CDO to do this but this option does not work for us since we do
not have cdo.dll installed on all workstations. Is there an alternative way
to script this? Can Outlook object model be used to make this change?

Thanks for your help.

Michael Bauer [MVP - Outlook]

unread,
Oct 30, 2009, 5:07:18 AM10/30/09
to
Am Thu, 29 Oct 2009 14:55:01 -0700 schrieb Dipti Seth:

What Outlook version? In OL07 it might work via the PropertyAccessor
property. Before OL07 there's no way via the OOM.

For OL03 or earlier, don't use CDO.dll but CDO 1.21, which is the one for
the clients.

As I remember, the MessageClass for a custom form is stored in
PR_DEF_POST_MSGCLASS of the folder.

--
Viele Gruesse
Michael Bauer - MVP Outlook

: Outlook-Kategorien? Category Manager ist die L�sung
: VBOffice Reporter f�r Datenanalyse & Berichte
: <http://www.vboffice.net/product.html?pub=6>

Dipti Seth

unread,
Oct 30, 2009, 11:18:05 AM10/30/09
to
Thanks for your response Michael.

We have a mix of OL03 and OL07, with OL03 being the majority.
So, if I go the CDO 1.21 route, am I correct in understanding that:
1. I will need to load this API on every workstation?
2. This will not work for clients with OL07?

The plan is to tie this script as a login script for users. I guess that if
this requires installing an API, then we may be better off running this from
on the exchange server in one go for all users?

Thanks again!
Dipti

"Michael Bauer [MVP - Outlook]" wrote:

> Am Thu, 29 Oct 2009 14:55:01 -0700 schrieb Dipti Seth:
>
> What Outlook version? In OL07 it might work via the PropertyAccessor
> property. Before OL07 there's no way via the OOM.
>
> For OL03 or earlier, don't use CDO.dll but CDO 1.21, which is the one for
> the clients.
>
> As I remember, the MessageClass for a custom form is stored in
> PR_DEF_POST_MSGCLASS of the folder.
>
> --
> Viele Gruesse
> Michael Bauer - MVP Outlook
>

> : Outlook-Kategorien? Category Manager ist die Lösung
> : VBOffice Reporter für Datenanalyse & Berichte


> : <http://www.vboffice.net/product.html?pub=6>
>
>
> > Hello,
> >
> > I hope I am posting to the correct group.
> > We are trying to roll out a new Calendar form to all users globally. The
> > form is in the Organization Folder Library. I am trying to write a script
> to
> > change the default form used by Outlook to this new form. It turns out
> that
> > one can use CDO to do this but this option does not work for us since we
> do
> > not have cdo.dll installed on all workstations. Is there an alternative
> way
> > to script this? Can Outlook object model be used to make this change?
> >
> > Thanks for your help.

> .
>

Michael Bauer [MVP - Outlook]

unread,
Nov 3, 2009, 3:53:52 PM11/3/09
to

1. Yes. When you setup up the clients, maybe you choosed to install CDO yet,
then it's already available, and your script should run.

2. It will, but OL07 doesn't come with CDO 1.21, instead you need to
download it from MS.

--
Best regards


Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: <http://www.vboffice.net/product.html?pub=6&lang=en>


Am Fri, 30 Oct 2009 08:18:05 -0700 schrieb Dipti Seth:

> Thanks for your response Michael.
>
> We have a mix of OL03 and OL07, with OL03 being the majority.
> So, if I go the CDO 1.21 route, am I correct in understanding that:
> 1. I will need to load this API on every workstation?
> 2. This will not work for clients with OL07?
>
> The plan is to tie this script as a login script for users. I guess that
if
> this requires installing an API, then we may be better off running this
from
> on the exchange server in one go for all users?
>
> Thanks again!
> Dipti
>
> "Michael Bauer [MVP - Outlook]" wrote:
>
>> Am Thu, 29 Oct 2009 14:55:01 -0700 schrieb Dipti Seth:
>>
>> What Outlook version? In OL07 it might work via the PropertyAccessor
>> property. Before OL07 there's no way via the OOM.
>>
>> For OL03 or earlier, don't use CDO.dll but CDO 1.21, which is the one for
>> the clients.
>>
>> As I remember, the MessageClass for a custom form is stored in
>> PR_DEF_POST_MSGCLASS of the folder.
>>
>> --
>> Viele Gruesse
>> Michael Bauer - MVP Outlook
>>

>> : Outlook-Kategorien? Category Manager ist die L�sung

>> : VBOffice Reporter f�r Datenanalyse & Berichte

0 new messages