Solved

Creating a Browser Application

Posted on 1998-05-28
5
116 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…

746 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

9 Experts available now in Live!

Get 1:1 Help Now