Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Creating a Browser Application

Posted on 1998-05-28
5
Medium Priority
?
124 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
[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
  • 3
  • 2
5 Comments
 
LVL 6

Accepted Solution

by:
clifABB earned 120 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…
Suggested Courses

660 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