![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hi all,
Situation: USER A has opened in Exchage enviroment USER B's calendar My script gets the folder object by Application.ActiveExplorer.CurrentFolder By Fld.Name the script gets the nme of the folder. But how can the script get "USER B" as the "owner" of the calendar? P.S. I can not assume that CDO is installed on the system. Thanks J. Thelen |
#2
|
|||
|
|||
![]()
One hack you can use is to get the StoreID of that Calendar folder and
convert the string value into a byte array. Then convert back to string characters so you get text values instead of the hex. Inside the StoreID would be the string "EMSMDB.DLL" that indicates it's an Exchange store. There also would be the Exchange distinguished name for the mailbox, which would end in something like: "/cn=EXalias" where EXalias is the name of the mailbox. Look over the StoreID's for some different mailbox using a MAPI viewer such as OutlookSpy (www.dimastr.com) and view the Text tab for the property value to see what I mean. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm wrote in message ... Hi all, Situation: USER A has opened in Exchage enviroment USER B's calendar My script gets the folder object by Application.ActiveExplorer.CurrentFolder By Fld.Name the script gets the nme of the folder. But how can the script get "USER B" as the "owner" of the calendar? P.S. I can not assume that CDO is installed on the system. Thanks J. Thelen |
#3
|
|||
|
|||
![]()
I posted a StoreID hacking code sample just this week -- http://www.outlookcode.com/codedetail.aspx?id=1434
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Ken Slovak - [MVP - Outlook]" wrote in message ... One hack you can use is to get the StoreID of that Calendar folder and convert the string value into a byte array. Then convert back to string characters so you get text values instead of the hex. Inside the StoreID would be the string "EMSMDB.DLL" that indicates it's an Exchange store. There also would be the Exchange distinguished name for the mailbox, which would end in something like: "/cn=EXalias" where EXalias is the name of the mailbox. Look over the StoreID's for some different mailbox using a MAPI viewer such as OutlookSpy (www.dimastr.com) and view the Text tab for the property value to see what I mean. wrote in message ... Hi all, Situation: USER A has opened in Exchage enviroment USER B's calendar My script gets the folder object by Application.ActiveExplorer.CurrentFolder By Fld.Name the script gets the nme of the folder. But how can the script get "USER B" as the "owner" of the calendar? P.S. I can not assume that CDO is installed on the system. Thanks J. Thelen |
#4
|
|||
|
|||
![]()
Very cool, Sue. I've been using the technique for years. It's very useful.
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Sue Mosher [MVP-Outlook]" wrote in message ... I posted a StoreID hacking code sample just this week -- http://www.outlookcode.com/codedetail.aspx?id=1434 -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How can I view another user's secondary calendar? | Walter | Outlook - Calandaring | 3 | October 19th 06 05:06 PM |
Cannot access another user's calendar | artgrl8163 | Outlook - Calandaring | 2 | August 24th 06 02:21 PM |
importing a file to anothers persons contact in Outlook | carolynk | Outlook - Using Contacts | 2 | June 6th 06 03:42 PM |
Viewing Other User's Calendar. | Karen | Outlook - Calandaring | 3 | March 13th 06 05:38 AM |
Other user's calendar | CapsLock | Outlook - Calandaring | 0 | February 12th 06 01:35 PM |