Posts by Ariel Inacio Correa • 513 points
24 posts
-
0
votes1
answer202
viewsA: Capture Position from a Scrollbox’s vertical or horizontal bar
I was able to solve it this way: In the Onconstrainedresize event of the Scrollbox I put the following code: paFixo1.Left := ScrollBox1.Left + 10; or paFixo1.Top := ScrollBox1.Top + 10;…
-
0
votes1
answer202
viewsQ: Capture Position from a Scrollbox’s vertical or horizontal bar
I created a Scrollbox and within it several Panels. When the amount of Panels created is large, the Scrollbox itself automatically creates the vertical and horizontal scrollbars for me. What I need…
-
0
votes1
answer56
viewsQ: Access Violation variable type Txsdate
I am doing the integration with the webservice of Total Express Transport and importing the wsdl made available by them has been created several properties where types are Txsdecimal and Txsdate.…
delphiasked Ariel Inacio Correa 513 -
2
votes1
answer137
viewsA: Adding Stringlist values to a Psafearray
After several consultations I managed to do what I needed. Below how to fill it out, as well as the reading: procedure TForm1.TratarSafeArray(Lista: TStringList); var VSafeArry : psafearray ;…
-
1
votes1
answer137
viewsQ: Adding Stringlist values to a Psafearray
I need to take the values that are stored in a Tstringlist and add these values in Psafearray, which will later be sent as parameters to a dll. I have tried in many ways, but all to no avail. Could…
-
1
votes1
answer134
viewsA: Error Webrequest c#
I managed to solve. Just put ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; before the var requisicaoWeb = WebRequest.CreateHttp(URL); being like this:…
-
1
votes1
answer134
viewsQ: Error Webrequest c#
I am making a POST type request for a URL, but I always receive as an error the following message "The underlying connection was closed: Unexpected error in an upload.". This request is made through…
-
0
votes2
answers775
viewsQ: Edge on a Tedit
I need to put an edge on the Tedit of a record, when this field is required and is empty at the time of saving the record. I have already put the edge, but I’m not able to disable it when the field…
delphiasked Ariel Inacio Correa 513 -
1
votes1
answer148
viewsQ: Open file . pas by explorer in win10
I use Delphi 7 and after switching from windows 7 to windows 10 (Enterprise), I am no longer able to open files of the type .pas directly from the Explorer. When I double-click the file .pas a new…
-
2
votes2
answers1185
viewsQ: How to Read this json with PHP
How do I read this JSON file with PHP. I tried this way, but it doesn’t work. <?php $json_str = '{ "numero":"1000", "log": { "message": "testing connection to the target URL", "level": "INFO",…
-
0
votes1
answer193
viewsQ: Bookmarks in google maps searching database
How to fill state markers in google maps, searching the latitude, longitude and title data of a database. Today I already have this function working, but the state data are fixed in a javascript.…
-
4
votes2
answers3931
viewsQ: Create dll in C# and use in Delphi 7
I need to create a dll in C# so I can use it in Delphi. I tried the following: I created a basic dll with a sum method, but when calling it in Delphi does not return anything, it would be like the…
-
1
votes2
answers8869
viewsQ: Error "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…
-
2
votes1
answer4309
viewsQ: Generate 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…
-
14
votes4
answers1052
viewsQ: How do we know the date is the last day of the month?
I have a date saved in the database and, before I present it on the grid, I need to know if it’s the last day of the month. I need this information to present it in a different color.
-
0
votes2
answers1419
viewsQ: Place table column value in an input
I have a table with 4 columns and several records. In this same table I have a button for each record. By clicking this button I would like to take the value of a column and put in an inputText.…
-
1
votes0
answers128
viewsQ: Version 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?
-
0
votes1
answer534
viewsQ: Mouse scroll button on a Quick report
How to make the mouse scroll button work in Quick Report reports. Today I use a custom Preview using the Tqrpreview component. I use Delphi 7 and Quick Report 3.0.9.
-
5
votes2
answers1064
viewsQ: Error using phpmailer class
I am making a contact form using phpmailer class and whenever sending the email this error happens: I’m using the SMTP connection. "Fatal error: Class 'SMTP' not found in…
-
0
votes1
answer294
viewsQ: Store file with more than 1 Mb Mysql
I am trying to write a file to a mysql database using Delphi. For files with size smaller than 1Mb is working perfectly, however for file with bigger size I am having problems. The following error…
-
1
votes1
answer1378
viewsQ: Log 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…
-
3
votes0
answers339
viewsQ: Save Email Outbox
I wonder if it is possible to save an email in the default email manager output box (Outlook, live mail, among others) using Indy10. Today I already have a function to send email, but calls the…
-
0
votes1
answer881
viewsQ: Delete file in Delphi use
Does anyone know if it is possible to delete a file on Delphi, using the function DeleteFile, when the file is open? Thanks in advance.
-
0
votes0
answers159
viewsQ: send HTML email with MAPI
Good morning. Has anyone sent any e-mail where in the body of the text is sent an HTML code. In my case I need to save a table in the body of the text. Using Outlook works, but if using live mail,…