Questions tagged as 'delphi'

2
answers

IP Blocking ServerSocket?

I developed a socket system in Delphi. Is it possible to block an IP from connecting to my server? Note: The components: SERVERSOCKET and CLIENTSOCKET were used.     
asked by 17.04.2014 / 03:23
1
answer

Creating run-time bat and process in delphi

I have two functions that create a file bat and execute it, but I just can not create the process ( CreateProcess returns False ) and I can not identify the error. I use Windows 7, 64-bit. Should I change some parameter in...
asked by 29.03.2015 / 05:20
1
answer

Send email by calling Outlook 2013

To send emails I use the SendEmail function: function SendEMail(Handle: THandle; Mail: TStrings): Cardinal; type TAttachAccessArray = array [0..0] of TMapiFileDesc; PAttachAccessArray = ^TAttachAccessArray; var MapiMessage: TMapiMessag...
asked by 08.12.2016 / 19:14
2
answers

Alert to programmer when opening Form (Designer)

When a programmer opens a specific form, I would like to send a notification ( ShowMessage() ) to it, for example, to the comments that are in the header of the% . I've seen this in a project from another company, but I do not know how to...
asked by 08.12.2016 / 18:43
1
answer

Post IdHTTP FIREMONKEY Delphi XE7

Follow the previous question: Previous question on the same subject. Now what it is showing is:    link Code used: Functional in VCL: function TForm1.UploadArquivo(server, script, caminhoarq : string) : boolean; var Respons...
asked by 21.11.2015 / 15:10
1
answer

How to leave a semi-transparent Delphi form?

Hello, to be simpler to understand, see the example below, thank you for reading my question!     
asked by 11.06.2015 / 20:30
1
answer

Report Display Error (FastReport) in Multi-Language Software

I have the following error in displaying a report made in FastReport. ThiserrorstartedtooccurafterinternalizingmysoftwareusingnativeDelphiXE7(Project->Languages->Add)features,whenthesoftwarerunsinnativelanguagethereportisdisplayednormally,but...
asked by 05.01.2015 / 12:27
1
answer

How to change the form's buttons (minimize, maximize and close)

I have a project in Delphi 2010 where I would like to change the icons for the Minimize , Maximize , Close which are represented in the image below: The icons I want to use have been created by me, so I do not want to change them...
asked by 25.10.2016 / 12:43
1
answer

Regular expression in delphi 7

I'm new to programming in Delphi 7, as well as regular expressions. Delphi 7 because in the company I'm working on, for other reasons, they have to use Delphi 7. I need to work with regular expressions, someone knows some way. From what I...
asked by 31.03.2015 / 03:10
1
answer

Calculating dates in firebird

I am creating a report to demonstrate the period of dismissal of employees, so I need to calculate the days, months and years that it has been removed, and I am having a problem, in Firebird I use something like datediff(day,dtini,dtfim) ,...
asked by 03.12.2014 / 12:36