AxWebBrowser printing

  • Thread starter Thread starter Bryan
  • Start date Start date
B

Bryan

I am writing an appilcation that uses an AxWebBrowser to display a web
page. I want to be able to add a button to the same form that can print
the contents of this web browser. I can right click on the browser and
select print, so I would think that I should be able to make this happen
from a button on the same form. Does anyone have any idea??

--Bryan
 
Bryan,

If you have the webbrowser, you should be able to call the ExecWB method
on the control, passing in IDM_PRINT as the command identifier.

Check the documentation for ExecWB for details on how to make the call.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top