Results 1 to 3 of 3

Thread: Printing Contents of Browser Object

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2004
    Posts
    2

    Post Printing Contents of Browser Object

    I would like to be able to print the contents of the Browser object using a button instead of right clicking the page being displayed and selecting print from the popup menu.

    Preferably I would like to access this menu item through my code, but any other way of printing or copying the contents to the Printer Object

    Thank you very much,

    Matthew

  2. #2
    Fanatic Member TheVader's Avatar
    Join Date
    Oct 2002
    Location
    Rotterdam, the Netherlands
    Posts
    871
    Is this what you mean?
    VB Code:
    1. WebBrowser.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DODEFAULT
    Author for Visual Basic Web Magazine

    My articles on the Web Browser Control:
    Using the Web Browser Control & Using the DHTML Document Object Model

    The examples referenced in the articles can be found here:

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2004
    Posts
    2

    Thanks

    It looks like

    Thanks very much

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