Thanks Very much!
Another problem i have is the following!
a) How can i deactivate Ctrl-Break and Ctrl-Alt-Delete in my C++ program so that the user who runs it cannot break it,escape from it or close it?
b) How does the following won't work in C++ Builder?
char s[11];
s=Edit1-Text;
c) How can i write a string to a Label1.Caption letter-by-letter? Is it possible to write directly to the form and not to the Label component?
d) Why this doesn't work?
if ((kbhit() && getch())==27) printf("You've hust hit Escape!"

;
e) Why tis doesn't work?
f ((f=fopen("C:\\DataBase.txt", "r"

)==NULL)
cprintf("To arxeio C:\\DataBase.txt den mporese na anoixtei gia diavasma!\a"

;
else
{
while ((s[k++]=getch())!=27)
{
clrscr(); fseek(f, 0, SEEK_SET); i=0;
while (fscanf(f, "%s %s %s", filos.onoma, filos.eponymo, filos.til)!=EOF)
if (strstr(filos.onoma, s))
{
cprintf("%-15s%-20s%-15s\r\n", filos.onoma, filos.eponymo, filos.til);
i++;
}
if (i==0)
cprintf("No record found! Pata (Esc)...\a"

;
else
cprintf("\nFound %d record(s)!", i);
}
}
I want the program to when the user press keys to find them searching te field of the record starting from the beginning.
Fo example if the record is "Nikos" if the user presses N to show Nagia
Nikos
Nikitas
If it follows by an i
to show Nikos
Nikitas
if Niko only Nikos
What cahnges do i have to make?
Thanks very much and sorry for the too much questions
I appreciate your help!