Creating appointment in other users calendar

P

Peter Theill

For OL2003 + OL2002 (XP)

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.
 
P

Peter Theill

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?
 
S

Sue Mosher [MVP-Outlook]

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.
 
P

Peter Theill

Do what? The newsgroup interface you are using apparently do­es not
quote
earlier messages in the thread, making your latest message s­o short
on
detail that you've lost the original question.Please take th­e 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 calen­dar, use
the
Namespace.GetSharedDefaultFolder method to return the folder­, then
the
MAPIFolder.Items.Add method to create an item there. The cus­tom 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 se­tup 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-l­ine
switch
however this only works for my *own* calendar. Is it possibl­e to
somehow specify another users calendar as a command-line swi­tch?


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
"000000008BCDB2A5F2D1AD45BB54A67770E005E401009533BC310E31FB4­8A57FA9BE86187F0F000000008CEA0000"

..
However I'm not able to merge these two command line switche­s.
<<
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top