Article View: borland.public.cppbuilder.nativeapi
Article #7985Re: Open Website (init api)
From: David Monbaron
Date: Fri, 03 Dec 2004 12:24
Date: Fri, 03 Dec 2004 12:24
35 lines
2066 bytes
2066 bytes
Hey Jens, not really sure I get all what you mean, but here's what I can offer: Drop a CppWebBrowser on your Form (it's in the Internet Section) DWORD start, diff; start = GetTickCount(); CppWebBrowser1->Navigate((TVariant)"http://www.yoursite.org"); diff = GetTickCount() - start; Good Luck, Dave Jens Hohnhagen wrote: > Hi, > > i like to open a website and determine the time, how long it take to load > completely. i will use GetTickCount to get the time, but i do not know how > to load the entire site. i would like to emulate as i load the time in my > internet explorer, but i only want to let it completely open without get the > html source. it should also works with readirections. > > DWORD start,diff; > > start = GetTickCount(); > OpenHttp(http://www.amazon.com); > diff = GetTickCount()-start; > > has anybody any idea? > > jens > >
Technical Details
Message-ID:
<41b05af3$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41aafa73$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d6ade04403396e6 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Fri, 03 Dec 2004 13:24:15 +0100 From: David Monbaron <non@non.net> User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Open Website (init api) References: <41aafa73$1@newsgroups.borland.com> In-Reply-To: <41aafa73$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 80.218.152.5 Message-ID: <41b05af3$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1102076659 80.218.152.5 (3 Dec 2004 04:24:19 -0700) Lines: 35 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail