Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Calendaring / February 2005

Tip: Looking for answers? Try searching our database.

Creating appointment in other users calendar

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Peter Theill - 31 Jan 2005 12:18 GMT
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.
Sue Mosher [MVP-Outlook] - 31 Jan 2005 18:57 GMT
No, that's not possible with a command-line switch.

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> For OL2003 + OL2002 (XP)
>
[quoted text clipped - 20 lines]
>
> However I'm not able to merge these two command line switches.
Peter Theill - 02 Feb 2005 08:41 GMT
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?
Sue Mosher [MVP-Outlook] - 02 Feb 2005 13:21 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.

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

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.