Posts by R.Santos • 2,251 points
201 posts
-
4
votes1
answer9873
viewsQ: How to backup a Postgresql database via pgAdmin 4
I am trying to generate a backup of my Postgresql database through pgAdmin 4, but every time I try to backup an error occurs: I am configuring the Postgresql preferences as follows: And when I set…
-
0
votes1
answer119
viewsQ: It is possible to generate a file . CSV from a table of a Firebird database
I need to generate a file .CSV from a table in my Firebird database, there is some known tool that could help me?
-
0
votes1
answer59
viewsA: Error trying to access Database information
The problem with access Violation is actually the Rxlib - Delphi 7 component that needed to be installed. Rave Reports error must be connected with this!
-
4
votes2
answers160
viewsA: Error adding BD information
The Solution I found was to convert the variable codigo for integer which was the format that was in the bank: the solution was just that: procedure TdmCadMIB.Consulta_Cliente(Codigo: string); I…
-
4
votes2
answers160
viewsQ: Error adding BD information
When testing in the application where I migrated the BD from Firebird to Postgresql the following error occurs when trying to save an item in the database: Reviewing the code I could see that the…
-
3
votes2
answers255
viewsA: Error while running the application on another computer
I was able to solve the error after the assistance of the comments and also through the help of the user @Sorack, summarizing needed to change the file settings pg_hba.conf and add a Firewall entry…
-
3
votes2
answers255
viewsQ: Error while running the application on another computer
I developed an application that when running in my computer the same runs normally but when trying to run the same application in other equipment the following error appears and I can’t access the…
-
1
votes1
answer34
viewsQ: Error 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;…
-
0
votes1
answer1183
viewsA: Create a *.csv file with found data from a file
I managed to generate a file as needed from this code: for (int i = 1; i <= pdDoc.getNumberOfPages(); i++) { pdfStripper.setStartPage(i); pdfStripper.setEndPage(i); String parsedText =…
-
2
votes1
answer196
viewsQ: Stack 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…
-
1
votes1
answer59
viewsQ: Error 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
answer37
viewsA: Format a string matcher found
StringBuilder format = new StringBuilder(); format.append(hora.substring(0, 2)). append(":").append(hora.substring(2, 4)). append(":").append(hora.substring(4, 6)); System.out.println("Hora: "…
-
1
votes1
answer126
viewsQ: Error 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.*,…
-
2
votes1
answer203
viewsQ: Error 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…
-
1
votes1
answer1256
viewsQ: Is 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…
-
2
votes1
answer333
viewsQ: Rave 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…
-
1
votes1
answer1013
viewsQ: Rpdefine 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…
-
2
votes1
answer185
viewsQ: Error 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…
-
0
votes1
answer356
viewsQ: Migrate Firebird Delphi 7 Application to Postgresql
I am trying to migrate an application that was developed in Delphi 7 and that uses the database Firebird to save your information, to the database postgresql, from this, I have already been able to…
-
0
votes1
answer126
viewsA: Error compiling a *.dpr file in Delphi 7
I found out what it was, the line that made the connection to the file . ini was commented, then when I took the comment it was all right
-
3
votes1
answer388
viewsA: Connect Postgresql to Delphi 7 through Zeoslib
I was able to solve the problem after the help of @Marcelo de Andrade regarding the file pg_hba.conf, I researched and found that the error could be on the line: host all 127.0.0.1/32 md5 and would…
-
1
votes4
answers392
viewsA: Read Internal File Name
public static void getImgs(String path){ File file = new File(path); File[] arquivos = file.listFiles(); for (File arquivo : arquivos) { …
-
3
votes1
answer388
viewsQ: Connect Postgresql to Delphi 7 through Zeoslib
I’m trying to connect Postgresql in Delphi 7, I found in a forum the idea of using Zeoslib to make this connection watching a video class I reached this setting: But even following step by step how…
-
1
votes1
answer126
viewsQ: Error 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,…
-
2
votes1
answer701
viewsA: Error trying to open *.FDB file in Ibexpert
It was necessary to uninstall Interbase from the machine so that when reinstalling Firebird it could generate a new file gds.dll that points back to the Firebird bank and does not point to Interbase…
-
3
votes1
answer701
viewsQ: Error trying to open *.FDB file in Ibexpert
I need to open a *.FDB file by Ibexpert, until recently I was able to open it normally but yesterday it started giving this error: I already checked the control panel and the BD Firebird is running…
-
3
votes1
answer467
viewsQ: Connect with Postgresql
I have a file *.ini which connects to my Firebird database, but now I need this file configured to connect to Postgresql [IBConnection] DriverName=Interbase…
-
6
votes1
answer328
viewsQ: It is possible to determine the access path to the file in Function
I have a Java WEB application where I am using a Function that opens the file .pdf which I determine, but it only opens the files .pdf that are in the same folder where this saved my project,…
-
2
votes1
answer73
viewsA: Create Next button
I was able to find the error, I needed to pass the name of the file to JSP page
-
1
votes1
answer73
viewsQ: Create Next button
I’m having a problem that I haven’t found any solution, I’m trying to create a forward button to pass the pages of my file. pdf that is displayed on my JSP page. String arquivo = ""; String i = "";…
-
2
votes1
answer713
viewsQ: How to pass information from a JSP page to a Servlet
I need to pass information from a String variable that is on a JSP page to a Servlet. For example: String path = "C: test.jpg"; How do I get this information from Servlet?
-
1
votes3
answers1429
viewsA: Edit an already created XLS file
I managed to edit a worksheet already created: try { HSSFWorkbook workbook; try (FileInputStream file = new FileInputStream(new File("C:\\teste.xls"))) { workbook = new HSSFWorkbook(file); HSSFSheet…
-
1
votes3
answers1429
viewsQ: Edit an already created XLS file
I need to edit an XLS file already created, but I am only able to create a new file and delete the old one, so far it is working but I wonder if it is possible to edit the old file and not have to…
-
6
votes2
answers305
viewsQ: Is it possible to run Acrobat Reader without putting all the way of its executable?
I am opening files in PDF format by Java and for this I am running Acrobat by Java also, follows the path line to the Acrobat executable: String cmd = "C:\\Program Files (x86)\\Adobe\\Acrobat Reader…
-
1
votes3
answers344
viewsQ: Determine the page where the *.pdf file will open in the browser
I have a code to display a pdf file: @WebServlet(urlPatterns = {"/teste"}) public class abrirPDF extends HttpServlet { byte[] arquivo = null; File file = new File("C:\\testes\\teste.pdf"); protected…
-
0
votes0
answers294
views -
0
votes1
answer85
viewsQ: Is it possible to open on a given PDF page?
public static void main(String[] args) throws IOException, BiffException { Workbook workbook = Workbook.getWorkbook(new File("C:\\testes\\teste.xls")); Sheet sheet = workbook.getSheet(0); int linhas…
-
2
votes1
answer757
viewsQ: Configure the spreadsheet created by java with jxl
I am developing an application that generates an excel spreadsheet with data collected from other files, for this I am using jxl, the application is already generating the spreadsheet correctly, but…
-
0
votes1
answer1183
viewsQ: Create a *.csv file with found data from a file
I am developing a project that extracted information from a *.pdf file, was saving this information in a *.txt file, but now I was asked that this information be saved in the format of a…
-
1
votes1
answer368
viewsA: Create a executable from a Java application
I had to go in the properties of my project because it was without any given main class, follows image of the place where the information changes.…
-
3
votes3
answers441
viewsA: How to concatenate string with null without explicitly checking?
I believe that instead of setting a variable like String as "null" you should set it as "". For example: public static void main(String[] args) { String a = "a"; String b = "";…
-
0
votes1
answer368
viewsQ: Create a executable from a Java application
I made an application that has a timer to look in a certain directory of 2 in 2 seconds, well when I am running the application in Netbeans it works normally, but I tried to create a JAR of this…
-
2
votes1
answer430
viewsA: How to Get Data from a Java Text File?
You could perhaps use regular expression in this case: import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter;…
-
0
votes2
answers988
viewsQ: Parse a txt file
Good morning, I created a *.txt file with certain paths, now I need to put these paths within variables to call them in the application. I thought I’d use a parser to get this information, but I…
-
0
votes1
answer103
viewsQ: Delete file *.pdf
I am making an application that opens a *.pdf file, so I apply a filter on it, however I am having a hard time deleting this file after it has already been read. I did the same procedure with a…
-
0
votes1
answer32
viewsQ: Time Formatting
I am making an application that divided a String to write the same in time format. But if I put 102330 instead of returning me 10:23:30 it brings me 1:02:33 and if I put 112126 it formats correctly…
-
1
votes1
answer37
viewsQ: Format a string matcher found
I’m using matcher to pick up different time patterns but when writing the same I would like it to be written in the correct format, I tried to use Simpledateformat ("HH:mm:ss"), but it didn’t work.…
-
0
votes0
answers28
viewsQ: Create pdf files with pdBox
Good afternoon, I am trying to create a PDF file with pdBox, recording in it what he finds in the matcher of my application, but the created pdf comes out blank someone could help me in this doubt?…
-
1
votes2
answers188
viewsQ: Get information from multiple files in one directory
I’m making a Java application that takes information from multiple files *.tif in a directory, but I can’t take information from more than one at a time and need to put the specific path of each…
-
1
votes1
answer74
viewsQ: Validate a Matcher
Good afternoon. I would like to know how to check whether the matcher found something. Because I am searching for information inside a PDF file and when it does not find anything I would like to…