Questions tagged as 'delphi'

1
answer

Doubt on MYSQL + Delphi Code

Follow the code: DModuleGrid.qtudo.close; DModuleGrid.qtudo.sql.clear; DModuleGrid.qtudo.sql.add('select numcupom from tabc460 where cderr <:mc'); DModuleGrid.qtudo.parambyname('mc').asinteger := 0; DModuleGrid.qtudo.open; if D...
asked by 02.07.2014 / 13:41
2
answers

How to automate login in Gmail?

Explanation: I currently have a URL that informs Gmail user email:    link EMAIL & Passwd = password & null = Sign + in But in this way, the Password is not loaded, just the Email . Objective: I would like a link whe...
asked by 28.02.2014 / 01:54
0
answers

Doubt how to make a thread with select and cancel query executed in the database

I'm running a query within a thread and set a timeout for it to execute, or another way of stopping it would be for the user to cancel the select . The problem is that I stop the thread but the query continues to run in the database. I...
asked by 11.12.2018 / 23:00
0
answers

How to add Sender parameter in thread onterminate?

I have a thread that executes an action and onterminate executes a secondary procedure. It works like this: procedure qualquer; var Thread: TThread; begin Thread.CreateAnonymousThread( procedure() begin excecuta ação end;...
asked by 05.12.2018 / 13:00
2
answers

How to include data from a multiline query in a memo using Delphi?

Good afternoon. I work on a legacy system and need to put information from a query into a single memo object. Code follows. MyQuery.Close; with MyQuery.SQL do begin clear; add(' select TOP 8 nuentrada, dstpleitu, vlleitura, ds...
asked by 03.12.2018 / 18:10
0
answers

.csv file being downloaded as html in Delphi

Hello, I have an application in delphi 6 that takes a central white api, to download a .csv file, put it inside a document and show it in a memo. But the download is coming as html and presenting in a bizarre way. They said that is some parameter...
asked by 28.11.2018 / 19:45
1
answer

MultiThreading with connection pool "Duplicate database name 'XXX'"

I am developing a service to work with multithread of an old source code that uses BDE and DBX, so that each thread has its own connection I have developed a singleton with connection pool to which it uses the GetCurrentThreadID < strong> to fi...
asked by 30.11.2018 / 14:07
0
answers

Login with Idhttp

Good morning Friends. This is my first question here in stack overflow, I am very glad to be part of this community. When I log into a website using idhttp, I currently do this: Function EnviarArquivo(Url: String;Arquivo: String; Usuario: S...
asked by 21.11.2018 / 11:42
0
answers

Muiti touch on delphi android

How do you tell me how active the multi touch function in delphi tokyo? I'm developing a cart control and I need to hit the accelerate and flip button at the same time, but I'm not getting it, it's working one button at a time.     
asked by 31.10.2018 / 21:26
1
answer

Delphi Problems When Listing XML Sub-Node

I have the code below, but on the [ICMS] node . he puts it in the same line I can not read the children. Happening the same with [PIS] and [COFINS] . * He does not obey level 2. How to get or check if he has more Levels or knot? Thanks to anyo...
asked by 06.11.2018 / 02:18