LockUserChanges will not save after calling .apply and .save - using VB6
-
Friday, May 11, 2012 7:01 PMSet ns = Application.GetNamespace("MAPI")
ns.Logon
Set inbox = ns.GetDefaultFolder(olFolderInbox)
inbox.CurrentView.LockUserChanges = True
inbox.CurrentView.Apply
inbox.CurrentView.Save
Help?
All Replies
-
Friday, May 11, 2012 7:20 PMModerator
Are you saying that LockUserChanges is still False after you set it to True? Otherwise, if you expect that users cannot make changes if it is set to True, they CAN - but the changes won't be saved.
Eric Legault
MVP (Outlook)
About me... -
Friday, May 11, 2012 7:25 PMYes it is still false afer I set it to true.
chuck Taylor
-
Friday, May 11, 2012 7:50 PMModerator
If you are running the code under your user context in your Inbox, you of course have full permissions to make changes. It only applies to other users accessing a delegated folder or Public Folder.Eric Legault
MVP (Outlook)
About me...- Marked As Answer by Tom_Xu_WXModerator Tuesday, June 05, 2012 6:54 AM

