tvb2727

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


Re: Visual Basic Language PrintDialog Question

BinaryCoder

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.)