locked
PrintDialog Question RRS feed

  • Question

  •  

    I have added a printdialog control to my program. I select text on a web browser control and I want to use that. I set allowselect etc to true, but when i click okay it does not send the information to the printer to print. I have also tried doing send keys sendkeys("^(P)" to bring up the one already programmed in but that won't work either. Any ideas?
    Sunday, November 11, 2007 8:08 PM

Answers

  • For the WebBrowser, you do not need to use the PrintDialog control.

     

    Call the WebBrowser's ShowPrintDialog method.

     

    (There is also a Print method if you want to print without displaying any dialog.)

     

    Wednesday, November 14, 2007 1:14 AM