![]() |
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'm trying to turn off the Archive command from Outlook's file menu, I know
this is achievable using group policy and disabling it via it's control ID. does any know of a list for these specifically for Outlook 2003, Thanks |
#2
|
|||
|
|||
![]()
Control ID is 1886 for the Archive Command off the File Menu.
I was going to refer you to http://office.microsoft.com/en-us/or...402401033.aspx and have you use the EnumerateControls VBA code, but realized it has to be modified in order to work with Outlook's object model. The revised code is below if you get curious about other menu controls. Sub EnumerateControls() Dim icbc As Integer Dim cbcs As CommandBarControls Set cbcs = Application.ActiveExplorer.CommandBars("Menu Bar").Controls("File").Controls For icbc = 1 To cbcs.Count Debug.Print cbcs(icbc).Caption & " = " & cbcs(icbc).ID Next icbc End Sub "spaceman_toons" wrote in message ... I'm trying to turn off the Archive command from Outlook's file menu, I know this is achievable using group policy and disabling it via it's control ID. does any know of a list for these specifically for Outlook 2003, Thanks |
#3
|
|||
|
|||
![]()
Thank you very much, it's working a treat !!
Cheers "neo [mvp outlook]" wrote: Control ID is 1886 for the Archive Command off the File Menu. I was going to refer you to http://office.microsoft.com/en-us/or...402401033.aspx and have you use the EnumerateControls VBA code, but realized it has to be modified in order to work with Outlook's object model. The revised code is below if you get curious about other menu controls. Sub EnumerateControls() Dim icbc As Integer Dim cbcs As CommandBarControls Set cbcs = Application.ActiveExplorer.CommandBars("Menu Bar").Controls("File").Controls For icbc = 1 To cbcs.Count Debug.Print cbcs(icbc).Caption & " = " & cbcs(icbc).ID Next icbc End Sub "spaceman_toons" wrote in message ... I'm trying to turn off the Archive command from Outlook's file menu, I know this is achievable using group policy and disabling it via it's control ID. does any know of a list for these specifically for Outlook 2003, Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
extract all email ids from incoming messages? | Neha From Baroda, India | Outlook - Using Contacts | 0 | September 25th 06 11:54 AM |
Long term IDs from PR_PARENT_ENTRYID | [email protected] | Add-ins for Outlook | 3 | September 4th 06 07:02 AM |
Using multiple ids in Outlook 2002 in non-Exchange environment | Sid | Outlook - Installation | 9 | May 13th 06 12:48 PM |
PGP vs Digital IDs | Fredly | Outlook - General Queries | 12 | April 11th 06 07:15 PM |
Identical email id under two different XP user accounts ids | torbar | Outlook Express | 8 | March 10th 06 12:22 PM |