Thread View: borland.public.cppbuilder.internet.web
2 messages
2 total messages
Started by Giovanni
Tue, 02 Nov 2004 18:00
CppWebBrowser SaveAs
Author: Giovanni
Date: Tue, 02 Nov 2004 18:00
Date: Tue, 02 Nov 2004 18:00
24 lines
1423 bytes
1423 bytes
hello to all, I am trying to use the CppWebBrowser component, in particular
would have need to save one jpg visualized in my browser once every n
second. I have tried with the ExecWB command:
{
TVariant vIn, vOut;
//...
vIn = "myPath\\a.jpg" ;
CppWebBrowser->ControlInterface->ExecWB(Shdocvw_tlb::OLECMDID_SAVEAS,
Shdocvw_tlb::OLECMDEXECOPT_DONTPROMPTUSER, &vIn, &vOut);
//...
}
but it always comes opened a window for the user even if I have set up
property DONTPROMPTUSER. I would have need that the rescue came executed in
automatic rifle.
Where mistake?
There is some alternative method?
Thanks, Giovanni
--
Re: CppWebBrowser SaveAs
Author: Remy Lebeau (TeamB)
Date: Tue, 02 Nov 2004 19:33
Date: Tue, 02 Nov 2004 19:33
16 lines
1472 bytes
1472 bytes
"Giovanni" <sw@infotecnica.it> wrote in message news:4187cb1b@newsgroups.borland.com... > hello to all, I am trying to use the CppWebBrowser component, > in particular would have need to save one jpg visualized in my > browser once every n second. If all you are doing is displaying jpegs and nothing else, I would suggest not using TCppWebBrowser for that at all. Instead, get a real HTTP client component and download the jpeg file directly. Then you can do whatever you want with the file. Also, since the VCL already has jpeg support, you can then display the jpegs in a TImage each time you download the file. Gambit
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads