Thanks.
How could I do this using VBA, then? I'm wondering if I could start
Outlook with my own form using "outlook /c
IPM.Appointment.SpecializedForm" and write the appointment to another
users calendar in e.g. the "Item_Close" function. Then discard the
"original" appointment (which were to be created in my own calendar).
Do you know of any sample code in this area? Or do you see a better
solution for my problem?
Do what? The newsgroup interface you are using apparently does not quote
earlier messages in the thread, making your latest message so short on
detail that you've lost the original question.Please take the time to quote
the original message.
If you want to create an appointment in another user's calendar, use the
Namespace.GetSharedDefaultFolder method to return the folder, then the
MAPIFolder.Items.Add method to create an item there. The custom form class
is an argument for the Add method.

Signature
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
> Thanks.
>
[quoted text clipped - 6 lines]
> Do you know of any sample code in this area? Or do you see a better
> solution for my problem?
Peter Theill - 02 Feb 2005 23:27 GMT
Do what? The newsgroup interface you are using apparently does not
quote
earlier messages in the thread, making your latest message so short
on
detail that you've lost the original question.Please take the time to
quote
the original message.
<<
Yes, sorry about that. The new Google Groups (still in beta) GUI layout
makes it very easy to forget to put quoted text inside the actual
posting area.
The original message is posted in the end of this message.
If you want to create an appointment in another user's calendar, use
the
Namespace.GetSharedDefaultFolder method to return the folder, then
the
MAPIFolder.Items.Add method to create an item there. The custom form
class
is an argument for the Add method.
<<
Thanks - that's the information I was looking for. I'll check out these
methods.
Original message:
I'm the editor of another users calendar. I would like to setup a
shortcut for starting Outlook and creating a new appointment into
this
calendar.
I'm able to get to the appointment form using "/c" command-line
switch
however this only works for my *own* calendar. Is it possible to
somehow specify another users calendar as a command-line switch?
To create new appointment in my own calendar I can use:
outlook /c IPM.Appointment
To view another users calendar I can use:
outlook /select outlook:UID
where UID is some ID I haven't found out where to get based on a
username. It looks like
"000000008BCDB2A5F2D1AD45BB54A67770E005E401009533BC310E31FB48A57FA9BE86187F0F000000008CEA0000"
.
However I'm not able to merge these two command line switches.
<<