Results 1 to 1 of 1

Thread: AxWebBrowser1 and word documents toolbar-RESOLVED

  1. #1

    Thread Starter
    Hyperactive Member gtilles's Avatar
    Join Date
    Dec 2004
    Location
    Planet Earth
    Posts
    394

    Resolved AxWebBrowser1 and word documents toolbar-RESOLVED

    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)
    Last edited by Hack; Mar 8th, 2007 at 12:17 PM. Reason: Added green "resolved" checkmark
    Truly, you have a dizzying intellect.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width