Thread View: borland.public.cppbuilder.database.multi-tier
1 messages
1 total messages
Started by Lord Doombringer
Thu, 22 Mar 2001 00:26
Need help with THTML
Author: Lord Doombringer
Date: Thu, 22 Mar 2001 00:26
Date: Thu, 22 Mar 2001 00:26
22 lines
1579 bytes
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
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