We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

ExecWB-Commands of IE Browser Control

2be
2be asked
on
Medium Priority
1,677 Views
Last Modified: 2008-02-01
The Webbrowser Control of IE3/4 offers a method called ExecWB for executing browser functions, e.g. printing. Is there any complete reference of possible commands (e.g. OLECMDID_PRINT for printing...)? Mainly i'm searching for a possibility to save html-pages.
Comment
Watch Question

2be

Author

Commented:
Adjusted points to 50
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Commented:
to clarify a bit, this site does not give any more info that the object browser as far as the specific use of these commands, but it is more that you have before, here is the save command though;

WebBrowser1.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_DODEFAULT

and the exact olecmd site:
http://www.microsoft.com/msdn/sdk/inetsdk/help/compdev/active_docs/references/OLECMD.htm#OLECMD
2be

Author

Commented:
Thanx - that's the site i searched for (OLECMD). That was really fast!!!

Commented:
WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, "", ""    'Ok to Print?

have this command to !
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.