Most voted "delphi-7" questions
Delphi 7 is a version of Delphi, when it was still owned by Borland/Codegear released in August 2002 and became the most widely used version of Delphi. The reason for the success of this IDE is its stability, speed, and low hardware requirements and remains widely used to this day. Supports Windows XP themes, and creating web applications with Intraweb.
Learn more…184 questions
Sort by count of
-
2
votes2
answers19181
viewsHow to check if a table exists in the SQL Server 2005 database and if it does not exist create it and the columns
How to check if a table exists in the SQL Server 2005 database and if it does not exist create it and the columns. The purpose of this process is to create this routine for when I need to create a…
-
2
votes2
answers873
viewsDoubt about query in Delphi 7
I have a certain problem when trying to run an update query in my database, Delphi gives error as incorrect syntax, but I could not find the problem. Could someone please help me ? Follows prints:…
-
2
votes1
answer189
viewsDelphi - Date Comparison Error
I compared two dates. When the variable 'date' contains the date of TODAY, the code understands that it is smaller if data < now then begin ...//se a variável DATA fosse igual a hoje (now), ele…
-
2
votes1
answer414
viewsOnclik on the dbgrid line
I’m developing a system, and I have a dbgrid where I list the results of a query, as it would be possible when I click on a certain record (for example in the name of a person in the NAME field) , I…
-
2
votes1
answer4309
viewsGenerate JSON Delphi 7 file
I need to generate a JSON file with Delphi 7. I use the LKJSON library. I even managed to generate the file, but it was not the way it would need. Below code I used to generate JSON: procedure…
-
2
votes1
answer793
viewsDelphi Decimal Converter for Hours
I have the following decimal 0,0159722222222222 I want to turn into hours in the following format 00:23:00.
-
2
votes1
answer333
viewsRave Reports Delphi Seattle
What is the real function of the Rave Reports component in Delphi? And where you can download this component for free. Because I have an application that was developed in Delphi 7 that is using this…
-
2
votes1
answer185
viewsError of Postgresql variables
I am migrating an application from Firebird to Postgresql, I was able to connect the Postgresql database with the help of Devart tool, but now whenever I try to make some access in the application…
-
2
votes1
answer203
viewsError trying to update Clientdataset Fields in Delphi 7
I’m migrating an application from Delphi 7 that used to be in FireBird and now I’m connecting to the bank PostgreSQL, but a variable error was occurring, with the help of the Stack people, I…
-
2
votes2
answers790
viewsInputbox lock CTRL+V
I have the following code: vResultado := InputBox(Application.Title, 'Leia o cartão de Segurança:', ''); There is a way to block copy and paste in Inputbox?
-
2
votes1
answer196
viewsStack Underflow Error and Access Violation Delphi 7
I am changing the database of my Delphi application from Firebird to Postgresql, but at some points of my application when I am accessing Database information the following error message occurs: But…
-
2
votes0
answers122
viewsDelphi Rlanglelabel lose quality
Does anyone use Fortesreport’s Rlanglelabel? This component loses quality in the printing, what is circulating is using the Rlanglelabel, as we can notice it loses quality. Does anyone know if there…
-
2
votes1
answer142
viewsGS1 tags Code128 subset C
Has anyone implemented the standard GS1 barcode? In the pattern there is a barcode Code128. I’m trying to implement using Code 128 subjet C, my number of digits will be odd. How it has to be:…
-
2
votes2
answers1468
viewsHow to use Firebird WITH LOCK with Delphi Firedac
I’m 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" with the "Firedac"? This…
-
2
votes1
answer247
viewsError Char to String conversion
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…
-
2
votes0
answers78
viewsAccess to memory error!
I’m trying to implement a BINA with Delphi 7 using Super Bina! I added the component to form and in a botão done: procedure TfrmPrincipal.btnAbreConClick(Sender: TObject); var texto: String; begin…
-
2
votes1
answer1438
viewsVariable Declaration with Default Value in Procedures
You could declare a variable with a default value in Procedures? procedure TfrmManutencao01.FormShow(Sender: TObject); var lPriAber : Boolean = True; begin . . . end; I know that as it is above…
-
2
votes0
answers266
viewsDelphi sql using coalesce
In Delphi I have Tibquery: select * from TB_PRECO where coalesce(DT_CAMPANHA,'') = coalesce(:DT_CAMPANHA,coalesce(DT_CAMPANHA,'')) and coalesce(DT_VECTOPRECO,'') >= coalesce(:DT_ATUAL,…
-
2
votes1
answer607
viewsGenerate . exe from my Program
Well I’m in doubt I saw in a forum something about that Content found in the forum and I’m looking for more explanations and examples I am developing an Auto-Backup Database generating your . SQL…
-
2
votes1
answer483
viewsTaking the name of the Standard Printer
I can get the default printer name declared Printers in the uses section: Printer.Printers[Printer.PrinterIndex] If by chance, while running the program the user changes the default printer. How do…
-
1
votes1
answer809
viewsIs there a way to generate release releases in the old Delphis directly from the IDE?
In the latest versions of Delphi we can easily generate a version of the executable for distribution by simply running the compilation by the option Release. This removes several useful points for…
-
1
votes1
answer633
viewsWorking with Autosize Form
I’ve got a hot guy with the property Autosize = True, and two Groupbox One in the middle and one in the bottom. There is a function that makes the bottom Groupbox invisible if it is visible and vice…
-
1
votes2
answers1529
viewsBreak a For Loop
How do I break a loop? EX: for x:=1 to 10 do if x = 5 then "break" end When it reached 5, the loop would be broken, no longer continue. Of course it would be another condition. I wonder if there’s a…
delphi-7asked 10 years, 5 months ago Gabriel Sales 1,257 -
1
votes0
answers27
viewsDo not allow MODAL form to exit from inside the main form
I have an application that has a main form, which I call the others. The forms I call "form.Show;" are within the area of the main form, however, the ones I call "form.showmodal;" are on the main…
-
1
votes1
answer262
viewsAccess Violation when creating Thread
I’m getting the bug: Acess Violation at address 00420214. Write of address 0000000E. When creating a Thread. The error line is exactly the creation line (marked with '>'). In uses I added the…
-
1
votes2
answers476
viewsQuery runs Filterrecord only once
I have a query in tquery that has the need to do Filterrecord. After displaying the data I do an internal search in the query for more specific item, for example the name, but when I search in the…
-
1
votes0
answers378
viewsProblem Getting Back from Delphi DLL With Java
I am developing a system in java and a part of this system needs to get data that comes from another system in Delphi. I created two functions one that returns one String and another that returns a…
-
1
votes1
answer577
viewsQuery in dbgrid Paradox 7 using Edit in Delphi
I am very interested in learning programming in Delphi. I already know many things, but I still don’t know Database manipulation. Good, without delay. I wanted to know how to query database Paradox…
delphi-7asked 9 years, 8 months ago Douglas Raetê Mancini Sanches 11 -
1
votes0
answers38
viewsDatabase does not work after formatting the computer
Guys, here’s the thing... my computer is divided into two units, C and D. The program I used is in Delphi 7, was in the unit D and used a Firebird database. When I Formatted the Drive C, reinstalled…
-
1
votes1
answer232
viewsTcc Antivirus Prevent From Terminating Process Delphi
I am completing a project, creating an application that simulates an antivirus. The application is in Delphi, what I want to know is how antivirus do to register a process as user system, and when…
-
1
votes1
answer63
viewsAntivirus removes the program after installation/upgrade
Before, excuse me if it’s not the place, but I’m not getting results in my searches for this situation. Well I am in an uncomfortable situation, I have a system developed in Delphi 7 and in the…
-
1
votes1
answer1378
viewsLog system exceptions using application events
I am wanting to record in a text file any exception that happens on the system. I’m using the component Application Events of the Additional palette. Below follows the example of the code: procedure…
-
1
votes1
answer364
viewsCreate Radiogroup based on Combobox selection using INI, dynamically in Delphi
Context: With the use of a personal app made on Delphi-7, I have been adding new actions as needed in a TRadioGroup, but now contains many items (16), harming the usability of the application. What…
-
1
votes1
answer1191
viewsUnsupported on-disk Structure
I was developing in Delphi using Firebird 2.5. And it started to give an error when trying to connect to the local database. When trying to connect it from the following message: Error: unsupported…
-
1
votes1
answer78
viewsTbquery back N records
No Lphi if I give one TbQuery.prior It returns a record. But if I want to go back N records, for example, I want to go back 5 records. Does anyone know if there are any methods in Delphi that do…
-
1
votes0
answers128
viewsVersion control Delphi
Today we are thinking of using a font version control for our projects. We are using Delphi 7. I wonder if anyone knows any source version control?
-
1
votes0
answers197
viewsSelect File by Webbrowser
I have an HTML file with the following code: <form method="post" action="recebe_upload.php" enctype="multipart/form-data"> <input type="file" name="arquivo" /> <input type="submit"…
-
1
votes2
answers8869
viewsError "could not load ssl library" using Delphi 7 and Indy 10.0.52
I’m using Delphi 7 and indy 10.0.52, trying to send a json methodically post for a api but I always get this error message: could not load ssl library A long time ago I did this same procedure only…
-
1
votes1
answer126
viewsError compiling a *.dpr file in Delphi 7
I am trying to compile a *.dpr file in Delphi 7, but whenever it starts to compile it presents the following error: And if OK grip and run again it displays another error window: I’m new to Delphi,…
-
1
votes1
answer1013
viewsRpdefine error in Seattle Delphi
I’m trying to open an application that was created in Delphi 7 in Delphi Seattle, but when I run the application the error is occurring: [dcc32 Fatal Error] ControleImpressoes.dpr(114): F2613 Unit…
-
1
votes1
answer1256
viewsIs it possible to make a connection to Postgresql via ODBC in Delphi 7?
I’m having difficulties to make the connection to the database Postgresql in the Delphi 7, I got it from Zeos Lib, but I need it to be via dbExpress the connection, then I saw that in the most…
-
1
votes1
answer34
viewsError trying to access certain bank information
I am trying to access certain information from my database, but the following error is occurring: Chunk where when debugging error occurs: IdHTTP := TIdHTTP.Create(nil); IdHTTP.Port := 80;…
-
1
votes2
answers365
viewsConvert Header C/C++ to Delphi
The intention is to consume a dll of biometrics http://www.veridisbiometrics.com/index.php/produtos/biometric-sdk-free I thought the best way would be to convert the headers they provide (not a good…
-
1
votes2
answers943
viewsAdding Hours greater 24 h
The sql statement returns me the time type hours: | Horas | |20:52:00| |12:42:00| |09:00:00| |07:45:00| I would like to add the total hours, but that way he is "zeroing" when it reaches 24 hours.…
-
1
votes2
answers431
viewsCreate Login screen at runtime
How to create within a ShowMessage or ShowModal a message where the user would have to enter the code and password, when leaving this ShowMessage I can get this information (code and password) to…
-
1
votes1
answer126
viewsError while trying to add updated Fields in Clientdataset
I am trying to update my Clientdataset’s Fields with the new variables of the bank, but I came across the following error: Why this could be happening? Join of the Tsqldataset: select E.*,…
-
1
votes1
answer59
viewsError trying to access Database information
I’m migrating an application that was developed in Delphi 7, which used to use the Firebird database, so now I’m making the application communicate with the Postgresql database. I managed, after…
-
1
votes1
answer418
viewsFrame Replication [Error: Component already exists]
I have a form in Delphi and I wanted to have a pre-created frame added dynamically several times by clicking a button. I’m trying through this code: procedure TMain.Button1Click(Sender: TObject);…
-
1
votes1
answer111
viewsError saving data from a Radiogroup
I’m having a problem saving the information I select in one RadioGroup in the database, after making the change that was suggested in this question the error of trying to add something in the column…
-
1
votes3
answers2481
viewsFind a component by name
I have a string: var vMinhastring : string; begin vMinhastring := 'Edit1'; In my form I have a Tedit Compomente with the name Edit1. How I pass some value to my Edit1, using vMinhastring as the…