![]() |
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,
I tried to change the display name of a newly added .pst store theApp.Instance.Application.Session.AddStoreEx(pat h,Microsoft.Office.Interop.Outlook.OlStoreType.olS toreUnicode); //Find Our Store with WorkAround over FilePath Outlook.Stores stores=theApp.Instance.Application.Session.Stores; foreach (Outlook.Store store in stores) { if (store.FilePath== path) { AO_Store = store; string /mapi/proptag/0x3001001F"; Outlook.PropertyAccessor oPA=store.PropertyAccessor; try { oPA.SetProperty(PR_DISPLAY_NAME,"ArtistsOrganizer" ); } catch (Exception e) { Debug.WriteLine(e.Message); } } }But I get an access denied exception when I run this.All the bestTom |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I change the display name of a .pst store | escamoteur | Outlook and VBA | 5 | July 29th 09 10:00 AM |
reinstalled OL- cannot change store or get previous store up | MikeR-Oz | Outlook - General Queries | 8 | May 19th 08 01:19 PM |
Change Store Folder | Spark | Outlook Express | 6 | January 27th 07 12:05 PM |
calendar items store but do not display | dmcruickshanks | Outlook - Calandaring | 0 | July 19th 06 11:45 AM |
Need codes for change the default delivery store | [email protected] | Outlook and VBA | 3 | May 3rd 06 07:28 AM |