logo
A versatile cross-platform mind mapping tool.
appstore
Get from App Store
Get
logo
A versatile cross-platform mind mapping tool.
appstore
Get from App Store
Get
Fight Against Covid-19: 50% Off on Edraw MindMaster Lifetime Subscription. Stay safe and get the offer here >>
edraw-max-horizontal
Guide
What's New
Edraw Max online
TRY IT FREE
BUY NOW

Office Component - Disable Word, Excel, PowerPoint System Buttons

> Basic Diagram Knowledge > Office Component - Disable Word, Excel, PowerPoint System Buttons
Posted by James Freeman | 12/23/2019
Edraw office viewer component 8.x added support to disable the ms office main window system button: Minimize Box, Maximize Box and Close Button.

Disable Word, Excel, PowerPoint System Buttons

The Minimize Box, Maximize Box and Close Button in the document window have also been disabled.

disable document window button

To hide the whole title bar in the ribbon interface, you can call the document.OA1.ShowRibbonTitlebar (false) in BeforeDocumentOpened event.

To hide the whole ribbon interface, you can call the AxEDOffice1.Toolbars = False.

To disable the file menu in the ribbon interface, you need to add the following codes in the NotifyCtrlReady event.

function OA1_BeforeDocumentOpened()
{

document.OA1.DisableFileCommand(1, true);//wdUIDisalbeOfficeButton
document.OA1.DisableFileCommand(2, true);//wdUIDisalbeNew
document.OA1.DisableFileCommand(4, true);//wdUIDisalbeOpen

}

Embedding MS Excel in VB 6

Embedding MS Office in ASP.NET Program

Embedding MS Project

Embedding Visio

An Easy Way to Embed Excel in a Web Page

Embedded MS PowerPoint

Disables MS Word Standard Command

Disable Office Ribbon Button

Show/Hide Office Menu Bar

Get Started! You Will Love This Easy-To-Use Diagram Software.

Edraw Max is perfect not only for professional-looking flowcharts, organizational charts, mind maps, but also network diagrams, floor plans, workflows, fashion designs, UML diagrams, electrical diagrams, science illustration, charts and graphs... and that is just the beginning!