views:

199

answers:

0

I am able to successfully embed the Web Browser Control in a Windows Forms application to load a Word Document. I am able to turn on the "Standard" Toolbar so that it shows. However, I am not able to display the Menu bar. The following snippet shows what I am doing:

_wordDoc.CommandBars["Menu Bar"].Enabled = true; _wordDoc.CommandBars["Menu Bar"].Visible = true;

This does not work.

However, the following works:

_wordDoc.CommandBars["Standard"].Visible = true;

Any ideas/suggestions?

Thanks