Solved

ExecWB-Commands of IE Browser Control

Posted on 1998-07-21
5
852 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.
0
Comment
Question by:2be
  • 2
  • 2
5 Comments
 

Author Comment

by:2be
Comment Utility
Adjusted points to 50
0
 
LVL 1

Accepted Solution

by:
wford earned 50 total points
Comment Utility
You can find all the help you need at:

http://www.microsoft.com/msdn/sdk/inetsdk/help/itt/IEProg/WB/Objects/WebBrowser.htm#WebBrowser

and yes there is a save_as command
0
 
LVL 1

Expert Comment

by:wford
Comment Utility
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
0
 

Author Comment

by:2be
Comment Utility
Thanx - that's the site i searched for (OLECMD). That was really fast!!!
0
 
LVL 1

Expert Comment

by:BeerMan
Comment Utility
WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, "", ""    'Ok to Print?

have this command to !
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now