Results 1 to 2 of 2

Thread: Printing contents of the browser control

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2000
    Location
    New Orleans, LA
    Posts
    37
    im making a weak little, built in, report functionality into my application using dynamically built html and the internet control. (im doing this partly cause i have to, partly out of curiosity, and partly because i hate report designer/data enviroment/crystal reports, etc, so please dont just gimme reasons i should not do it this way, please help me find the answer)

    there is no print method for the webbrowser (common sense always seems to work first but not in this case) and dont want to just do a Form.PrintForm because that is retarded and open to too much problems and i wouldnt even need the internet control to do it that way.

    So, if you know how, or im just a retard and have looked over the obvious way to print the contents of the internet contol, thanks in advance.

  2. #2
    Guest
    Here is how to print the Webbrowser's Contents:

    Code:
    WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width