[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

ExecWB-Commands of IE Browser Control

Posted on 1998-07-21
5
Medium Priority
?
1,153 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 

Author Comment

by:2be
ID: 1466296
Adjusted points to 50
0
 
LVL 1

Accepted Solution

by:
wford earned 150 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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

656 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