Article View: borland.public.cppbuilder.internet.web
Article #84Printing TCppWebBrowser content via ExecWB
From: Mike Collins
Date: Wed, 25 Apr 2007 13:54
Date: Wed, 25 Apr 2007 13:54
17 lines
1610 bytes
1610 bytes
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
Technical Details
Message-ID:
<462f4d79@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: feeec,9c7a9012d3a4080,start X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Mike Collins" <its@TheBottomOfThePost> Newsgroups: borland.public.cppbuilder.internet.web Subject: Printing TCppWebBrowser content via ExecWB Date: Wed, 25 Apr 2007 13:54:26 -0000 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.3790.3959 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3959 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 86.152.188.111 Message-ID: <462f4d79@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1177505145 86.152.188.111 (25 Apr 2007 05:45:45 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail