Solved

Creating a Browser Application

Posted on 1998-05-28
5
120 Views
Last Modified: 2010-05-03
I'm using Microsoft Internet Controls to create a small browser program.  What I don't know is how to set up a print button and print out the current web page.
0
Comment
Question by:Jagar
  • 3
  • 2
5 Comments
 
LVL 6

Accepted Solution

by:
clifABB earned 30 total points
ID: 1461927
Use this code:
Private Sub Command1_Click()
  WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DODEFAULT
End Sub

0
 
LVL 2

Author Comment

by:Jagar
ID: 1461928
Thanks were can I get a full list of everything ExecWB can do I tried hitting F1 on it, but said No Help Available.
0
 
LVL 6

Expert Comment

by:clifABB
ID: 1461929
You know, it's the oddest thing about that.  I've yet to figure out why they never shipped a help file.

Anyway, where I get my information is from the object browser.
(Look for the constants beginning with the letters "OLECMD")
0
 
LVL 2

Author Comment

by:Jagar
ID: 1461930
OK now how do I figure out what they do.  Some a pretty obvious, but other I'm not sure about.  Any ideas???
0
 
LVL 6

Expert Comment

by:clifABB
ID: 1461931
You might try the MSDN site located at http://www.microsoft.com/msdn/
You can search the MSDN Library Online there.
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

807 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