Solved

ExecWB-Commands of IE Browser Control

Posted on 1998-07-21
5
908 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
ID: 1466296
Adjusted points to 50
0
 
LVL 1

Accepted Solution

by:
wford earned 50 total points
ID: 1466297
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
ID: 1466298
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
ID: 1466299
Thanx - that's the site i searched for (OLECMD). That was really fast!!!
0
 
LVL 1

Expert Comment

by:BeerMan
ID: 1466300
WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, "", ""    'Ok to Print?

have this command to !
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

790 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