Senin, 28 Mei 2012

[MS_AccessPros] Custom Ribbon

 

I have been working on a few custom ribbons and it has been going surprisingly well. I now have three custom ribbons that work exactly like I want them to. I just have one concern. The plan with one of the ribbons is to eliminate everything. I put the following code in my UsysRibbons table. It eliminates everything except the FILE tab, which is fine except that under the file tab there is the PRIVACY OPTIONS selection. Is there any way to disable the PRIVACY OPTIONS?

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"> <ribbon startFromScratch="true">
</ribbon>
</customUI>

I have inserted the module below (below is part of the code) to remove some of the other abilities in the database and it is working well.
Sub disableStartupProperties()
ChangeProperty "StartupShowDBWindow", dbBoolean, False
ChangeProperty "StartupShowStatusBar", dbBoolean, False
ChangeProperty "AllowBuiltinToolbars", dbBoolean, False
ChangeProperty "AllowFullMenus", dbBoolean, False
ChangeProperty "AllowBreadinCode", dbBoolean, False
ChangeProperty "AllowSpecialKeys", dbBoolean, False
ChangeProperty "AllowBypassKeys", dbBoolean, False
ChangeProperty "AllowShortcutMenus", dbBoolean, False
End Sub

Thank you for your ongoing help.
Bill

__._,_.___
Recent Activity:
.

__,_._,___

Tidak ada komentar:

Posting Komentar