🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #903

TCppWebBrowser - how to catch errors?

#903
From: Robert Turlej
Date: Thu, 01 Dec 2005 13:50
34 lines
1773 bytes
Hello!

In my application I use TCppWebBrowser to download by user website with  
database.
Unfortunately I have some problems:
1- when user first time use application must set on URL to the website  
with database, but when he will write wrong URL he will se page with  
infrmations 'this site couldn't be find'. I would like to catch this error  
and show other informations.
How to do it?

2- how to make blockade for some websites..for example user can't put url  
to www.google.com he can only use
only one website. For example this website can have on the top this code  
<!-- code 1999 --> so other websites without this code can't be display in  
application.

If someone can help me how to do it, I will be grateful.
I wrote posts on polish forums but noone don't know how to help me:(

All the best
Robert
Technical Details
Message-ID: <ops03x1nilu90ivn@turli>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.superfeed.net!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,f570d79e87ba7680,start
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Newsgroups: borland.public.cppbuilder.internet.web
Subject: TCppWebBrowser - how to catch errors?
Date: Thu, 01 Dec 2005 14:50:01 +0100
From: "Robert Turlej" <turli@poczta.fm>
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-2
MIME-Version: 1.0
Content-Transfer-Encoding: Quoted-Printable
Message-ID: <ops03x1nilu90ivn@turli>
User-Agent: Opera M2/7.54 (Win32, build 3929)
NNTP-Posting-Host: 217.116.100.251
X-Trace: newsgroups.borland.com 1133444827 217.116.100.251 (1 Dec 2005 05:47:07 -0700)
Lines: 34
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.superfeed.net!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail