Hi everybody,
I'm a Delphi 7 programmer.
I'm using the FILEAGE function to read the date of a file, in OS timestamp format. Can you suggest a quick way to
obtain an OS timestamp that takes only year-month-day,
without hours-minutes-seconds?
I thought that the OS timestamp could have 16 bit for...
Hi everyone,
I'm writing a simple Delphi 7 application to export data from some Oracle tables to the correspondant MsSqlServer ones.
The MSS tables already exist, are empty, and were created with the same structure and relationships of the former Oracle tables, but eventually with different...
Hi,
I'm sorry for this stupid question:
What's the delphi procedure to copy files from
a directory to another?
Is there anything similar to the DOS command
"COPY"? (ex. copy c:\notes\*.txt c:\other_notes)
thank you very much
Emanuele
thank u very much, Towerbase,
you were of great aid to me.
I almost found the answer to my problem on FAQs.
Still needs some improvement, but I guess I can
make it out now.
Emanuele
if fileexists(file_name)
then begin
fileopen(nome_file, fmopenread or fmShareDenyWrite);
showmessage('ok');
end
else showmessage('the file doesn't exist');
Me again!!!
I'm adding the actual code. The message 'ok' appears and the application keeps running, but nothing...
Hi everybody!
I'm developing a web application with Delphi 7. I have a DBgrid and some ComboBoxes to perform search operations; the resulting records are the names of some dwg (Autocad drawings) files, and everything works well.
Now I'd like to open those files by clicking on the corresponding...
Dear towerbase,
thank you for your advices. I also checked the dbexpress
topic in FAQS. I've added the components you named to the form, and linked them in the proper way. Now, the program doesn't give errors anymore. Still, records in the dbgrid are not displayed. I verified that the...
Hi!
I've placed a sqlQuery, a DataSource, and a DBgrid component on a Delphi7 form. The DBgrid points to the DataSource, which in turn points to the sqlQuery. When I run the application, it gives the following error: "Operation not allowed on an unidirectional dataset". What happens? How con I...
Hi everybody!
I'm writing a Delphi 7 application, and I want it
to read string values from some .xls (Excel) files, pointing
at some cells (B3 and C3, for instance) of sheet 1, in order
to manage those values with string variables.
The inputs are name and directory of the files, which
are...
Hi!
I'm developing an Intranet web site, using Delphi to
build the CGI executables that respond to calls from
buttons on a web page.
In particular, there's a page for searching a drawings archive: I use the querytableproducer component from the
Internet palette to fetch the results back, and...
Thank u very much for your advice.
Now the log file shows, for instance:
41859A3W --- 29-nov-04 11:52:22 < 09-feb-89 18:16:32. 38320,49 69073,76
something is obviously wrong.
the assignment to data_old is made by the following
dbExpress sqlquery and code:
SELECT num_dis, dir_dis, data_dis...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.