Is there a way to assign a multiline string value in Delphi without having to quote each line?
Edit (the specific problem): I have some SQL queries which I want to test outside Delphi. When copying the queries it is a bit of overhead to add and replace quotes every time.
...
Is there a reliable method to check if an application is run from somewhere beneath program files?
If the user installs the application to program files on local machine, we need to put writable files somewhere else to avoid virtualization on Vista and Win7. When installed to a network disk, though, we want to keep these files with the ...
Do you need to write Windows Sidebar Gadgets in C#, or should I be able to write them in another language, for example Delphi?
Thanks
...
I have a Delphi application which displays an image using a TImage.
The location of the image is stored in a database and retrieved on load and set directly using code similar to below:
Image1.Picture.LoadFromFile(Query1.FieldByName('image').AsString);
I want to be able to display and edit the Filename being loaded during the above, ...
I'm trying to connect to google documents (following Marco Cantu's excellent REST example) but I am getting the following SSL errors:
1) If I use the SSL dlls from openssl-0.9.8i-i386-win32.zip I get the error:
"Could not load SSL library"
2) If I use the SSL dlls from indy_OpenSSL096m.zip I get the error:
"Error connecting with SSL"...
Is there a simple statement that can give a result similar to paramstr() in Delphi?
...
Hey,
I'm working with Delphi's MS Office interop, OfficePartner, and I can't seem to find out how to insert a Continuous Section Break into my doc (this can be done in .Net via an InsertBreak() call). Actually, any break will do I can probably figure out this specific one if I get a nod in the right direction.
Thanks!
...
Hello,
I have a translation file for German words but I got it broken like this:
Wنhlen Sie eine Fachgrِكe
is there a tool can fix this in utf-8 mode ?
it is for Delphi windows software
thanks
...
Hi dudes,
some questions about records in Delphi:
As records are almost like classes, why not use only classes instead of records?
In theory, memory is allocated for a record when it is declared by a variable; but, and how is memory released after?
I can understand the utility of pointers to records into a list object, but with Gener...
in a label i can add a new line like this
Label.Caption:='First line'+#13#10+'SecondLine';
can this be done in a TListView?
listItem:=listView.Items.Add;
listItem.Caption:='First line'+#13#10+'SecondLine';
thanks
...
Hi dudes,
I'm trying to do this:
type
TItemRec = record
Sender : TAction;
OwnerPack : HModule;
ChildForm : TForm;
end;
TRecList = TList<TItemRec>;
THelperList = class helper for TRecList
function FindSenderIndex(ASender: TAction): Int16;
end;
var
MyObj : TRe...
I am trying to open and refresh an excel 2003 spreadsheet via ole. However I am getting the error "Add method of Workbooks class failed" with no further information.
The code works in unit tests, and works on 3 servers but fails with the error on our web server. It is being run from a service app running under the Local System Account...
I want to get multiple different types values (time, pressure, name, ...) from user. and I want to customize my inputbox. But it take only one value.
Are there any way to solve this situation, or any component to use?
...
Simple issue. I'm working on a proof-of-concept for an application with additional database connection, so I will create a WCF service to wrap around the database. Multi-user environments will get this service installed on a centralized server with a client application on their local system. These users will automatically have to deal wi...
I'm a member in a team that use Delphi 2007 for a larger application and we suspect heap corruption because sometimes there are strange bugs that have no other explanation.
I believe that the Rangechecking option for the compiler is only for arrays. I want a tool that give an exception or log when there is a write on a memory address th...
Dear All,
Can someone please give me a step by step on how to build an installation disk for my Delphi 2010 application?
I have tried both InstallAware Express Edition which comes with Delphi 2010 but keeps on giving me error message for it continue to look for *120.bpl instead of *140.bpl
I have also tried InnoSetup with ISTool but f...
Hi,
The TShellList component is based on TListView which (unfortunately) doesn't have in its ViewStyle property a 'vsThumbnail' (or similar).
How can I display thumbnails in TShellList in a similar manner in which Windows Explorer does?
A simple Delphi snippet would be appreciated.
TIA
...
Possible Duplicates:
Source control system for small database dev team
good version control software for Delphi 2009
We are a small team of 4 developers and need a good version control system for use in-house.
2 of the developers work remotely from home and 2 mostly in the office.
We are Delphi developers so would like somet...
On my D2007 installation, I installed the DDevExtension, and also the IDEFixPack from the same site.
Unfortunately, now I have a component, TmxSideBarPro, that won't load into the IDE anymore. Any time I try, I get the following error in the IDE:
EPackageRegistrationException
Registration procedure, Mxtaskpanereg.Register in package c:...
Hi,
I have noticed a strange piece of behaviour when using MessageDlg and attempting to close my application via the Taskbar close all/group command.
My application is as follows:
There is a hidden main form which doesn't do anything other than handle some Windows Messages and pass them onto the child windows (if necessary).
Each chi...