February 18, 2019
Hot Topics:

Develop Your Own Browser - Part 1

  • November 20, 2002
  • By Soma Sundaram
  • Send Email »
  • More Articles »

Insert these coding into yourClick Event:

On Error Resume NextDim eQuery As OLECMDFeQuery = webbrowser1.QueryStatusWB(OLECMDID_PRINT)If Err.Number = 0 ThenIf eQuery And OLECMDF_ENABLED ThenWebbrowser1.ExecWB OLECMDID_PRINT, _                   OLECMDEXECOPT_PROMPTUSER, , _                       Ok to Print?ElseMsgBox Printer Not Found or No Contents in WebbrowserEnd IfEnd If

Page 4 of 7

Comment and Contribute


(Maximum characters: 1200). You have characters left.



Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

Thanks for your registration, follow us on our social networks to keep up-to-date