Creating resouce-files is easy.
An RC-script can be made with notepad:
============================ IMAGES.RC ============================
MAIN JPEG "BackGround.jpg"
============================== END ================================
Only that single line needs to be in the RC-file:
NAME_IN_RESOURCE RESOURCE_TYPE "FILENAMETOINCLUDE"
To compile it into your project, put this line in your project's DPR-file:
============================ PROJECT1.DPR =========================
Program RCTest;
{$R 'Images.res' 'Images.rc'}
Uses
Forms;
{$R *.res}
...
============================== END ================================
That line will compile "Images.rc" to "Images.res" and include it to
your project, for you to use it.
Or you can directly create a Delphi-resource (*.res) with Resource Workshop
(came
with Delphi on the same CD) and include that *.res file with {$R
YourRes.res}
Greetz,
Peter.
-----Oorspronkelijk bericht-----
Van: [email protected] [mailto:[EMAIL PROTECTED]
Bembi Prima
Verzonden: woensdag 30 januari 2008 08:38
Aan: [email protected]
Onderwerp: [delphi-en] RC file, Dataset, and block CTRLALTDEL question
OK, up to now I only know how to insert a resource script to my project, but
not to make one. Anyone can help me bout this?
Here's a problem, I attempt to make a file-based databese application with
ClientDataSet and DBGrid on it. I finish writing the data, and I edit some
of them, looks fine. But when I reopen the app, the latest edited data moved
to the latest data. What happened? Is there a way to fix it? Oh, someone
here know a fast way to sort the database by its field? (File-based
database, without any database provider)
Help me, I wanna know a way to block the CTRLALTDEL sequence when my app is
running, so Task Manager wont come out. How to do it?
I use Delphi 7 in my work
Thanks..