Questions tagged as 'delphi'

1
answer

Select DBGrid Row and StringGrid recognize line NUMBER

Would you be able to tell me if there is a possibility when I select a line from DBGrid , my StringGrid just recognize which line I selected? I'm not doing functions: I'm just doing this kind of thing for information for the user...
asked by 19.05.2014 / 20:49
2
answers

How to improve the performance of an xls file generator in my Delphi 4+ SQL Server 2000 application?

I have implemented the following procedure in an application made in Delphi 4, but the time to generate an xls file with Dataset data is 55 seconds and the dataset has approximately 50 lines. Any tips on how to improve performance? procedure T...
asked by 05.11.2018 / 16:27
1
answer

Delphi MDIChild form flashes when opening in modal mode

I have a form MDIChild that I open as follows: Application.CreateForm(TfrmManProduto, frmManProduto); However, sometimes I need this form in modal ... with some tips I adapted my code as follows for open it in modal mode: Applicati...
asked by 09.11.2018 / 12:39
1
answer

Access Violation in Code

Gentlemen, I have this code, it is located in my Form Activate , so it serves to identify my software that is running, and consequently update it, that is, it is an auto updater. if servidor = false then //se o servidor estiver conecta...
asked by 19.07.2014 / 13:13
2
answers

Access Violation When Selecting XML File - NFe

I'm trying to select nós , but you're giving Access Violation error, what could I improve on this code so there's no error? procedure TfrmDataB.sbtnAbrirClick(Sender: TObject); var xmlNCab, xmlNItm : IXMLNode; //Nota Fiscal cNF, n...
asked by 13.06.2014 / 14:26
1
answer

Duplicate resource file

I'm having a project that has the following resource file directives: {$R *.DFM} {$R UAC.res} After I've copied a portion of the project into another folder, I get the following error after compiling:    "[DCC Error] E2161 Warning: Dupli...
asked by 08.10.2018 / 15:13
1
answer

How to insert equal objects or list of objects in MongoDB?

Example, I have the following JSON: { Casa:'b32', integrantes:{ pessoa: 'joao', pessoa: 'Maria', pessoa: 'Daniel' } } When inserting into the database it stays this way. Apparently it is overwrit...
asked by 29.06.2018 / 20:18
1
answer

function that returns mapping letter of the drivers in delphi

I need a function or command in Delphi to return the mapping letter of the user's drivers. example: Z: , U:     
asked by 27.06.2018 / 17:35
1
answer

Windows Features With DELPHI

I would like to know how to make my program have these options: Uninstall and Change Equal Options shown in the image. In Delphi     
asked by 05.05.2018 / 16:05
1
answer

Is there a way to change the field type of a query in delphi without having to delete and include it?

I have the following situation, I use PostgreSQL and Zeos in DelphiXE, I needed to update the component to better support LATIN1 x UTF-8, now I can work with all kinds of characters, blz. But another problem came up, some fields that were Mem...
asked by 26.04.2018 / 17:24