🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #586

Need help with THTML

#586
From: Lord Doombringer
Date: Thu, 22 Mar 2001 00:26
22 lines
1579 bytes
Hello,
I've some problems with the THTML component. I try to load in a html-file
where is stored in my Windows directory, and it doesn't work. I use
C++ Builder 1 prof.
In the online-help I havn't found anything about THTML!

Here is the code I use:

void __fastcall TFerret::SpeedButton1Click(TObject *Sender)
{
char winDir[256], fileName[256];
GetWindowsDirectory(winDir, sizeof(winDir));
sprintf(fileName, "%s\\ferret.html", winDir);
Viewer->RequestDoc(fileName); // Viewer is the name of my HTML Component
Label1->Caption = fileName; // to control the value of fileName
}

Thanks for your Help!!!!!

P.S. Sorry about my English but I'm from Luxembourg

Christian Kies luxtechn@pt.lu
Technical Details
Message-ID: <3ab94639$1_1@news.vo.lu>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!hermes2.visi.com!news-out.visi.com!news-out.visi.com!hermes.visi.com!news.maxwell.syr.edu!newsfeed.skycache.com!Cidera!news.vo.lu

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,466e07e90cb0a540,start
X-Google-Attributes: gidfcd2b,public
X-Google-ArrivalTime: 2001-03-21 16:28:07 PST
From: "Lord Doombringer" <lord@doombringer.com>
Newsgroups: borland.public.cppbuilder.database.multi-tier
Subject: Need help with THTML
Date: Thu, 22 Mar 2001 01:26:34 +0100
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: ppp08-90070708-184.pt.lu
Message-ID: <3ab94639$1_1@news.vo.lu>
X-Trace: news.vo.lu 985220665 ppp08-90070708-184.pt.lu (22 Mar 2001 01:24:25 +0100)
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!hermes2.visi.com!news-out.visi.com!news-out.visi.com!hermes.visi.com!news.maxwell.syr.edu!newsfeed.skycache.com!Cidera!news.vo.lu