PDA

Click to See Complete Forum and Search --> : AxWebBrowser1 and word documents toolbar-RESOLVED


gtilles
Mar 6th, 2007, 03:43 PM
When opening a Word doc in the webbrowser control there is a default toolbar that shows up at the top. If you right click on the toolbar you get a list of other options, the first being "Standard". If I check this the toolbar looks more like I want with the printer, open, and save icons displayed.
The question is what property of AxWebrowser1 can I set so that "Standard" will be the toolbar type displayed when opening a Word document by default?
Thanks.


Found the answer:
AxWebBrowser1.ExecWB(SHDocVw.OLECMDID.OLECMDID_HIDETOOLBARS, SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_PROMPTUSER)