I use webbrowser object in a form and I want to print the web page.
I try to use this code for print button but I don't know what are OLECMDID_PRINT and OLECMDEXECOPT_PROMPTUSER:
ThisForm._webbrowser41.QueryStatusWB(OLECMDID_PRINT)
ThisForm._webbrowser41.ExecWB(OLECMDID_PRINT,OLECMDEXECOPT_PROMPTUSER,null,null)
I try to use this code for print button but I don't know what are OLECMDID_PRINT and OLECMDEXECOPT_PROMPTUSER:
ThisForm._webbrowser41.QueryStatusWB(OLECMDID_PRINT)
ThisForm._webbrowser41.ExecWB(OLECMDID_PRINT,OLECMDEXECOPT_PROMPTUSER,null,null)