Board index » cppbuilder » Printing TCppWebBrowser content via ExecWB
Mike Collins
![]() CBuilder Developer |
Printing TCppWebBrowser content via ExecWB2007-04-25 09:54:26 PM cppbuilder100 Hi all, posted the other day regarding propagating some values on an html document that I was loading and displaying in a TCppWebBrowser window. Got the code to work using the HTMLDocument2 interface / OnDocumentComplete that Remy described. However, i now have another problem. I need to save the modified displayed html which i'm doing using the ExecWB(Shdocvw_tlb::OLECMDID_SAVEAS) method. However the two values that i have modified do not get saved. The html document is part of a registration process and is store on an installation CD. Once the document is displayed and propagated, i need to provide the user with the option to print it, or if they do not have a printer, save it. Can anyone point me in the right direction here? Best regards, Mike C |