February 27, 2021
Hot Topics:

Develop Your Own Browser - Part 1

  • 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

This article was originally published on November 20, 2002

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