Questions tagged as 'delphi'

0
answers

Integrating Delphi with Word (by enabling the Word Save button)

For some time now I've created a system that integrates MS Word with Delphi , of Save of Word is disabled. It would be important for this button to be enabled because it already saves where the file was created. I want to kn...
asked by 16.05.2018 / 21:07
1
answer

Distinct count no fastreport

How to make a Distinct Count in FastReport ? I have the report: Name - sex João - m João - m Maria - f In%% normal, the result would be 3, but I want one that takes only the number of rows that do not repeat the name field....
asked by 17.08.2017 / 03:04
0
answers

Save e-mail outbox

I would like to know if you can save an email in the outbox of the default email manager (Outlook, live mail, etc.) using Indy10. Today I already have a function to send e-mail, but it calls the new e-mail screen of the manager for each messa...
asked by 18.03.2016 / 19:03
0
answers

Limit Band of a WebBrowser

I have in my form a WebBrowser that transmits a video of the website hitbox.tv I wanted to limit how much bandwidth would be available to WebBrowser     
asked by 22.01.2016 / 00:27
2
answers

Add a bmp or jpg figure to a canvas in Delphi

Is it possible to programmatically insert a jpg or bmp image into a canvas? I am using the canvas in a TBitmap at programming time, because my application does not have a screen. It is called, creates the drawing according to parameters passed...
asked by 30.07.2016 / 06:10
0
answers

Abort execution of a long-running SQL

I have a very time-consuming SQL (more than 10 minutes) to return the data. However, it runs on a Thread and therefore the MainThread continues to run normally. While SQL is running, the user can shut down the system, and that's where the pr...
asked by 09.05.2017 / 20:42
0
answers

Divergence between Delphi versions - DataSnap

SQLServer database proc receives a single parameter that is the enrollment of the face and returns the balance. SQL Command: SELECT SUM(CASE Fl_Credito WHEN 1 THEN Vl_Movimento ELSE 0 END) - SUM(CASE Fl_Credito WHEN 0 TH...
asked by 20.12.2016 / 21:21
2
answers

Special characters in Excel spreadsheet generated in Delphi

I found on the internet many codes related to generating EXCEL worksheets in DELPHI. Here is the code I'm using: objExcel := CreateOleObject('Excel.Application'); objExcel.Visible := True; objExcel.Workbooks.Add; objExcel.Workbooks[1].Sheets....
asked by 03.08.2015 / 15:09
0
answers

How to find and open .txt file, add information and save? Inside Android

I'm using Delphi Berlin 10.1. I could not use OpenDialog, it just does not open inside Android. I searched the root of the android that stays in / storage / emulated / 0 / where I should find a .txt file The same procedure for Desktop Win32...
asked by 16.07.2017 / 20:38
1
answer

FastReport prints white space. (Delphi 2010)

I'm a beginner with fastreport 5, I'm having a problem if anyone can give a tip. I'm making a report that has several DataBands, it's type a data ladder, every child band of a band. The problem is that this is appearing a huge space betwee...
asked by 31.08.2016 / 23:21