System Policy for Disabling Drawing Canvas Creation

D

Dave Robinson

I have just bought the Office XP Resource Kit,
specifically to get Policy Templates (.ADM Files) to use
on my Windows 2000 Server with Active Directory.
The Word10.ADM file contains settings for everything on
the 'General Options' page except for the option
for 'Automatically create drawing canvas when inserting
AutoShapes'.
I think that I understand enough about the .ADM file to
add this setting but I don't know the values to use.
Examining the Word10.ADM file in NotePad would indicate
that I probably need to find a keyname and a number
(e.g. 'fBackgroundOpen_1534_1', which is the one for the
option that is located immediately above the drawing
canvas option.)
How can I discover the missing information?
Any help would be appreciated.
Dave Robinson
 
B

Bob Buckland ?:-\)

Hi Dave,

You may be able to use the method in this article to find the
command bar ID number. It's basically the same in
Office XP as in Office 2003.

http://microsoft.com/office/ork/2003/five/ch18/MntA04.htm
========
I have just bought the Office XP Resource Kit,
specifically to get Policy Templates (.ADM Files) to use
on my Windows 2000 Server with Active Directory.
The Word10.ADM file contains settings for everything on
the 'General Options' page except for the option
for 'Automatically create drawing canvas when inserting
AutoShapes'.
I think that I understand enough about the .ADM file to
add this setting but I don't know the values to use.
Examining the Word10.ADM file in NotePad would indicate
that I probably need to find a keyname and a number
(e.g. 'fBackgroundOpen_1534_1', which is the one for the
option that is located immediately above the drawing
canvas option.)
How can I discover the missing information?
Any help would be appreciated.
Dave Robinson>>
--
I hope this helps you,

Bob Buckland ?:)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*

The Office 2003 System parts explained
http://microsoft.com/uk/office/preview/system.asp
 
D

Dave Robinson

Thanks for the reply, Bob.
I have already tried similar sample code from the pages of
the Office XP ResKit but its output (36 pages long) does
not seem include the same type of information that is used
in the Word10.ADM file. The value that I want to set is a
check-box control in a tabbed-dialogue that is displayed
when you click a control on a command bar (Tools, Options,
General). Up to now, I have only managed to get as far as
the command bar itself, not the controls on the dialogue
that it displays. The macro says that it is 'Menu
Bar', 'Tools', 'Options' and has an ID of 522. I want to
go further: to 'General' and the check box for 'Drawing
Canvas'. I have reached the limit of my knowledge of Word,
VBA and .ADM files.

The following text is from the Word10.ADM file and
controls the policy for the check box that is just above
the one for Drawing Canvas:

POLICY "Navigation keys for WordPerfect users"
PART "Check to enforce setting on; uncheck to
enforce setting off" CHECKBOX
VALUENAME fWPNavigationKeys_20_1
VALUEON NUMERIC 1
VALUEOFF NUMERIC 0
END PART
END POLICY

The information that eludes me would go after
the 'VALUENAME' keyword. VBA is not much help as the
keywords are different. For example, the VBA version of
the above is 'WPDocNavKeys', not 'fWPNavigationKeys'.

I could use VBA in an autoexec macro, using

Application.Options.AutoCreateNewDrawings=False

to produce the same result, but I think that it would only
work if it were put into each user's 'Normal.DOT'
template. The nice thing about using a policy, as you
probably know, is that it would be achieved from one,
central point and automatically included for new users.

I've learned quite a bit whilst searching for this
information - but not yet achieved my original aim.
Any help would be appreciated.
Dave Robinson
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top