A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Installation
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook 2003 Contorl IDs



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 2nd 06, 09:57 AM posted to microsoft.public.outlook.installation
spaceman_toons
external usenet poster
 
Posts: 1
Default Outlook 2003 Contorl IDs

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  
Old November 2nd 06, 11:34 AM posted to microsoft.public.outlook.installation
neo [mvp outlook]
external usenet poster
 
Posts: 718
Default Outlook 2003 Contorl IDs

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  
Old November 2nd 06, 01:53 PM posted to microsoft.public.outlook.installation
spaceman_toons
external usenet poster
 
Posts: 1
Default Outlook 2003 Contorl IDs

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 11:27 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.