Questions tagged as 'delphi-7'

1
answer

Delphi - Error comparing dates

I made a comparison between two dates. When the variable 'date' contains the TODAY date, the code understands that it is smaller if data < now then begin ...//se a variável DATA fosse igual a hoje (now), ele iria executar esse comando...
asked by 29.08.2016 / 22:04
1
answer

Send message to connected TV on the network

How do I send a message to a network connected TV using Delphi7 . Eg: I have a system that controls public service queues, I need to show the next caller password on a TV that is connected to the network.     
asked by 18.09.2015 / 20:42
1
answer

Taking the name of the Default Printer

I can get the name of the default printer declared Printers in the uses section: Printer.Printers[Printer.PrinterIndex] If by chance, during the execution of the program the user changes the default printer. How can I get this new printer (...
asked by 31.08.2018 / 19:09
1
answer

Error conversion from Char to String

I have the following code: procedure TDM_Maquinas.IBQCons_MaquinasCOD_LINHAGetText(Sender: TField; var Text: string; DisplayText: Boolean); begin Text := Sender.AsString; if Text <> '' then begin case Text[1] of '1' : Tex...
asked by 25.08.2017 / 19:43
1
answer

Onclik on the dbgrid line

I'm developing a system, and I have a dbgrid where I get results from a query , how would it be possible when I click on a certain record (for example in the name of a person in the NAME field) form ?     
asked by 19.09.2016 / 19:34
2
answers

How to use Firebird WITH LOCK with Delphi FireDac

I am trying to block a table on my system in order to prevent other users from entering the system when the procedure is running, how can I do this using the "WITH LOCK" / strong> with "FireDac" ? Does this eating lock the table for writi...
asked by 16.11.2017 / 19:15
1
answer

Monitor service with Borland Socket Server

I'm developing a three-tiered application in the delphi-7 , using the TSockecConnection component. Is it possible to monitor connections, identify IP of connected users, as well as knock down some users?     
asked by 02.04.2014 / 19:39
1
answer

Error trying to update ClientDataSet Fields in Delphi 7

I'm migrating an application from Delphi 7 which was previously in FireBird and now I'm connecting to the PostgreSQL database, but there was a variable error with the help of the Stack staff, I discovered that it could be th...
asked by 27.10.2016 / 18:06
1
answer

PostgreSQL variable error

I'm migrating a FireBird application to PostgreSQL, I was able to connect the PostgreSQL database with the help of the Devart tool, but now whenever I try to make some access in the application there is a variable format error, p> Ilookedinmy...
asked by 24.10.2016 / 15:52
1
answer

How to register a DLL in the system?

I have a DLL that I can not log into the system. If I take the original DLL, it is registered, but if I get the one that was generated on the company's machine, it registers. I do not know if I have to do anything. To register on the syste...
asked by 16.02.2016 / 12:37