I'm soon to launch a beta app and this have the option to create custom integration scripts on Python.
The app will target Mac OS X and Windows, and my problem is with Windows where Python normally is not present.
My actual aproach is silently run the Python 2.6 install. However I face the problem that is not activated by default and t...
I have multiple rave reports(projects) in the project(the delphi project) and I want to save them all in one pdf file. How can I do it?
...
hi all,
i am using canvas.TextRect in delphi to output something on the screen.
but i need my text to be word wrapped in the rectangle.
any help will be appreciate.
ps: im using delphi 7.
...
How can I fully justify a block of text (like MS Word does, not only on the right and not only on the left but on both sides)?
I want to justify some texts (mainly arabic text) adjusted to certain screen size (some handheld device screen actually, and its text viewer doesn't have this function) and save this text as justified. So I can...
Is there a way (on windows using Delphi 2010) to get the number of files in a dirctory without actually traversing all files?
I want to implement a progress bar during some file system indexing operation. For that reason I need to know how many files are in the directory.
What is the fastest way to get the number of files in a director...
Is there a case-insensitive variant of the Bob Jenkins hash function?
Generics.Defaults.BobJenkinsHash
provides a fast hash function. Unfortunately it cannot be used in combination with a case-insensitive compare function like so
TCustomStringComparer = class (TEqualityComparer <String>)
function Equals(const Left, Right: String): ...
How can I get some part of string that I need?
accountid=xxxxxx type=prem servertime=1256876305 addtime=1185548735 validuntil=1265012019 username=noob directstart=1 protectfiles=0 rsantihack=1 plustrafficmode=1 mirrors= jsconfig=1 [email protected] lots=0 fpoints=6076 ppoints=149 curfiles=38 curspace=3100655714 bodkb=60000000 premkble...
For example, this simple program:
Program Helloworld;
Begin
writeln ('Hello world!');
readln;
End;
...
I followed these instructions while trying to get remote debugging working with Delphi 2007. After completing all the steps, the remote debugger is half working.
It is able to launch and halt the application but the break points I set do not work. The automatic break point (at line Application.Initialize;) is working but it goes rig...
I have an application that runs through a series of bookings and prints each in turn in the form of an itinerary to send to clients. Each run could be 30 or so bookings so a need to automate this is required and we have delivered it.
All works well with our report software (Report Builder for DELPHI) except when the user wishes to use D...
Using D2010, I'd like to do something like this:
procedure SizeArray(var aArr: array of integer; aSize: integer);
begin
SetLength(aArr,aSize);
end;
But this fails to compile. Because my "aArr" parameter isn't a dynamic array, it's an open array parameter. And SetLength cannot be called on it. The only way I know of to force the para...
If I have a TTreeView, and I call something like this:
myTreeView.Select(nodeIWantSelected);
it gets selected, but unless that node happens to be located within the part of the tree that's currently visible, I don't see it and I have to drag the scroll bar around until I find its position. How can I make the TTreeView scroll to the n...
Hello,
Very simple question but I couldn't find an answer on google
In delphi, is there a way to shorten this kind of code:
MyVar := MyVar + X;
Like in C++ I would do MyVar += X;. Given how trivial and useful it is there must be way, but I can't find any option for that anywhere ...
Thanks for any help
...
I get this error when trying to get a feed from Google Analytics API. However, using the same token I get successful feeds from Google Calendar. The code between the two is exactly the same except for the feed url. So it must have something to do with Analytics being https and Calendar just http.
I have successfully created a non-s...
Hello,
While reading delphifeeds yesterday I discovered delQuery, which allows one to get some nice animation on his form very simply.
I would like to know if there are any other libraries of that kind out there and what experience you had with them ?
(I'm trying to find a way to make my application more alive in terms of GUI; buttons...
I'm a .NET developer, but I have got quest - must find errors in Delphi project.
After opening a project (Borland Delphi 7) and trying to debug it ('Run' menu), I've noticed all debugging options are inactive (gray).
How can I make it usable?
...
Hi,
I'm using Delphi 2009 and want to decode an HTML encoded string, for example:
' -> '
But cannot find any built in function for doing this.
Thanks in advance
...
Almost all of the Delphi code I have read has all the class type definitions in the units interface section, but I have seen occasional use of type definitions within the implementation section.
What exactly is the difference between these, and why would I use this?
...
How can I send an email by using Delphi's IdSMTP-component with html-contetent?
...
How can I use DefaultExpression property for TField with MS Access or SQL Server, it seems to work only with BDE.
...