Programattically pressing "Print" in IE5
C / C++ / MFC
3
Posts
2
Posters
0
Views
1
Watching
-
My app generates HTML reports, and displays them in IE5. What I now need to do is to display the report in IE5, and THEN print it / press print in IE5. Does anyone know how please???
-
My app generates HTML reports, and displays them in IE5. What I now need to do is to display the report in IE5, and THEN print it / press print in IE5. Does anyone know how please???
-
You need to use the IWebBrowser2 interface. Call the method ExecWB with these parameters: ExecWB( OLECMDID_PRINT, OLECMDEXECOPT_DODEFAULT, NULL, NULL );
Great! Thanks I'll try that....