Questions tagged as 'delphi'

1
answer

IDHTTP with Delphi - HTTP request failed 401 HTTP / 1.1 401 Unauthorized

Good afternoon. I have an example PUT request code in PHP: $params["access_token"] = "### Chave de Acesso ###"; $data["Product"]["stock"] = 100; $url = "https://{api_address}/products/123?".http_build_query($params); ob_start(); $ch = curl_...
asked by 09.11.2018 / 19:01
1
answer

Error opening / creating base in firebird

I have a problem with Firebird. I did the installation of Delphi and Firebird, but when I try to open the base it gives an error. Trying to open by ibexpert gives the following error unsuccessful execution caused by an unavailable resource. un...
asked by 18.10.2018 / 14:41
0
answers

How do I set a path (FTP) for automatic upload in Delphi?

I need a Upload automatically in the code below to send to the server via FTP using Delphi, is it possible? var ms: TMemoryStream; begin if OpenDialog1.Execute then ms := TMemoryStream.Create; idftp1.host := '' // Endereço do servidor F...
asked by 19.11.2018 / 13:34
0
answers

Error converting Delphi function to C #

Good evening everyone! I'm trying to convert a Delphi function to C # and I'm getting it, where am I going wrong? Delphi Code: function TCriptografa.CriptoBinToText(SText: string): string; var SPos: Integer; BKey: Byte; S: string[1...
asked by 05.12.2018 / 23:58
2
answers

How to send information to a json api in Delphi 7, Please help me [closed]

Using Delphi 7 to send information to an API when you click a close button? The data sent would be a JSON.     
asked by 23.11.2018 / 18:16
2
answers

Using the DateTimePicker component with Time

I'm using the TDateTimePicker component. I placed the following value in the FORMAT property: dd / MM / yyyy HH: mm: ss Running in form if not "clicking" on component and changing values, example 21/09/2018 14:55:56 para 21/10/2018 20:55...
asked by 21.09.2018 / 20:21
1
answer

Error ListView (ListView1UpdateObjects), to show or hide item. (Delphi firemonkey)

If someone can help me, I have a problem with a method of ListView , the method is TForm13.ListView1UpdateObjects in it I do the following: I check the value of an item to decide whether to show an item and concatenate the item to d...
asked by 14.08.2018 / 22:38
3
answers

TXMLDocument load from a String

I'm new to Delphi and am having trouble loading an XML document from a string. It does not make any mistake, it just does not load, it makes me think that I must be making some pretty silly mistake. My code is this: var lHTTP: TIdHTTP;...
asked by 15.08.2018 / 22:43
0
answers

Create function that receives an XML in the SOAP Server (delphi)

Good morning. Reading various files, tutorials, etc. on the net, I was able to understand and develop a SOAP server (Delphi 7 and Tokyo). I created several functions to receive values and return answer .. I created a client (Delphi 7 and Tokyo...
asked by 31.08.2018 / 17:52
0
answers

How to capture multiple fields returned from a Select using Stored Procedure with informed parameters and put inside variables using SqlServer?

- A dataset will be returned after informing 2 parameters, I need to get this dataset and put it in variables. @TypeType VARCHAR (5), @cdVeiculo int as if (@ClienteTipoVeiculo='Moto') begin Select mm.nmMarcaMoto, mom.nmModeloMoto,...
asked by 19.07.2018 / 19:00