![]() |
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
|
|||
|
|||
![]()
I have a couple users that are seeing an error to the effect of "You do not
have permission to perform this action." at the following line in a custom form script: "Set oF = Item.GetInspector". The context is the following: Sub SetCmdBars(ByVal boolVal) Dim oF Dim oCB If UserName "Me" Then Set oF = Item.GetInspector For Each oCB in oF.CommandBars If oCB.Name = "Standard" Then oCB.Enabled = boolVal oCB.Visible = boolVal End If Next oF.CommandBars("View").Enabled = boolVal oF.CommandBars("Tools").Enabled = boolVal oF.CommandBars("Actions").Enabled = boolVal End If Anyone got any ideas? Sue? -- TFWBWY...A |
#2
|
|||
|
|||
![]()
Does anyone have any ideas? Sue?
"Bryan Dickerson" wrote in message ... I have a couple users that are seeing an error to the effect of "You do not have permission to perform this action." at the following line in a custom form script: "Set oF = Item.GetInspector". The context is the following: Sub SetCmdBars(ByVal boolVal) Dim oF Dim oCB If UserName "Me" Then Set oF = Item.GetInspector For Each oCB in oF.CommandBars If oCB.Name = "Standard" Then oCB.Enabled = boolVal oCB.Visible = boolVal End If Next oF.CommandBars("View").Enabled = boolVal oF.CommandBars("Tools").Enabled = boolVal oF.CommandBars("Actions").Enabled = boolVal End If Anyone got any ideas? Sue? -- TFWBWY...A |
#3
|
|||
|
|||
![]()
What event is this code in?
-- 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 "Bryan Dickerson" wrote in message ... Does anyone have any ideas? Sue? "Bryan Dickerson" wrote in message ... I have a couple users that are seeing an error to the effect of "You do not have permission to perform this action." at the following line in a custom form script: "Set oF = Item.GetInspector". The context is the following: Sub SetCmdBars(ByVal boolVal) Dim oF Dim oCB If UserName "Me" Then Set oF = Item.GetInspector For Each oCB in oF.CommandBars If oCB.Name = "Standard" Then oCB.Enabled = boolVal oCB.Visible = boolVal End If Next oF.CommandBars("View").Enabled = boolVal oF.CommandBars("Tools").Enabled = boolVal oF.CommandBars("Actions").Enabled = boolVal End If Anyone got any ideas? Sue? -- TFWBWY...A |
#4
|
|||
|
|||
![]()
It's called in the Item_Open and Item_Close. The problem is caused when
it's called from the Item_Close--right before it finishes. "Sue Mosher [MVP-Outlook]" wrote in message ... What event is this code in? -- 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 "Bryan Dickerson" wrote in message ... Does anyone have any ideas? Sue? "Bryan Dickerson" wrote in message ... I have a couple users that are seeing an error to the effect of "You do not have permission to perform this action." at the following line in a custom form script: "Set oF = Item.GetInspector". The context is the following: Sub SetCmdBars(ByVal boolVal) Dim oF Dim oCB If UserName "Me" Then Set oF = Item.GetInspector For Each oCB in oF.CommandBars If oCB.Name = "Standard" Then oCB.Enabled = boolVal oCB.Visible = boolVal End If Next oF.CommandBars("View").Enabled = boolVal oF.CommandBars("Tools").Enabled = boolVal oF.CommandBars("Actions").Enabled = boolVal End If Anyone got any ideas? Sue? -- TFWBWY...A |
#5
|
|||
|
|||
![]()
Any ideas? We've converted all our users to the Exchange 2003 server and
most all of them are using the OL 2003 client--especially the ones that are having the problem. "Bryan Dickerson" wrote in message ... It's called in the Item_Open and Item_Close. The problem is caused when it's called from the Item_Close--right before it finishes. "Sue Mosher [MVP-Outlook]" wrote in message ... What event is this code in? -- 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 "Bryan Dickerson" wrote in message ... Does anyone have any ideas? Sue? "Bryan Dickerson" wrote in message ... I have a couple users that are seeing an error to the effect of "You do not have permission to perform this action." at the following line in a custom form script: "Set oF = Item.GetInspector". The context is the following: Sub SetCmdBars(ByVal boolVal) Dim oF Dim oCB If UserName "Me" Then Set oF = Item.GetInspector For Each oCB in oF.CommandBars If oCB.Name = "Standard" Then oCB.Enabled = boolVal oCB.Visible = boolVal End If Next oF.CommandBars("View").Enabled = boolVal oF.CommandBars("Tools").Enabled = boolVal oF.CommandBars("Actions").Enabled = boolVal End If Anyone got any ideas? Sue? -- TFWBWY...A |
#6
|
|||
|
|||
![]()
No ideas. I don't know why a call to Item.GetInspector would give you that error.
-- 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 "Bryan Dickerson" wrote in message ... Any ideas? We've converted all our users to the Exchange 2003 server and most all of them are using the OL 2003 client--especially the ones that are having the problem. "Bryan Dickerson" wrote in message ... It's called in the Item_Open and Item_Close. The problem is caused when it's called from the Item_Close--right before it finishes. "Sue Mosher [MVP-Outlook]" wrote in message ... What event is this code in? "Bryan Dickerson" wrote in message ... Does anyone have any ideas? Sue? "Bryan Dickerson" wrote in message ... I have a couple users that are seeing an error to the effect of "You do not have permission to perform this action." at the following line in a custom form script: "Set oF = Item.GetInspector". The context is the following: Sub SetCmdBars(ByVal boolVal) Dim oF Dim oCB If UserName "Me" Then Set oF = Item.GetInspector For Each oCB in oF.CommandBars If oCB.Name = "Standard" Then oCB.Enabled = boolVal oCB.Visible = boolVal End If Next oF.CommandBars("View").Enabled = boolVal oF.CommandBars("Tools").Enabled = boolVal oF.CommandBars("Actions").Enabled = boolVal End If |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom Action or Script to Purge Deleted Messages on IMAP account | Frank M. | Outlook and VBA | 9 | July 10th 09 06:44 PM |
Script error when printing HTML messages | Chris Rickman | Outlook - Installation | 8 | April 17th 08 04:44 PM |
Outlook 2003 startup script error | [email protected] | Outlook - General Queries | 0 | January 24th 06 07:34 PM |
I send an Outlook custom form, but a std. form displays? | Sue Mosher [MVP-Outlook] | Outlook - Using Forms | 0 | January 20th 06 07:41 PM |
Cannot programmatically open custom message in custom form | ms | Outlook - Using Forms | 1 | January 20th 06 03:01 PM |