EDIT:
Is there a better of doing this ?
TPendingBets = class(TDataModule)
private
public
function GetBdy(out IdEvent : Integer ) : Boolean; overload;
function GetBdy(out IdEvent : Integer; out idBetType : TBetTypes) ...
Problem
I want to securely delete a file in windows XP.
Context
I need to delete my input file securely once i have finished with it, at the moment i am over writing all the data with zero, this is messy as my temp folder becomes full of old files also the name of the files is a security issue, rather than just moving them to the recycl...
As a long time VIM user, it pains me to have to use the Delphi IDE. At least with Visual Studio there's ViEmu which works well.
So, do you have any advice for getting by in the Delphi IDE when you're so used to VI?
Any settings that you'd recommend to make things a little more familiar?
Any specific keyboard shortcuts that can save t...
Background: I want to use the Delphi translation of mysql.c in a project but the original maintainer Matthias Fichtner (http://www.fichtner.net/delphi/mysql/) appears to have taken it down.
Question: Does anyone know of a similar wrapper (or an updated version of Matthias Fichtner's wrapper) around libmySQL.dll that is similar in lightw...
I wish to skin my aplication and have noticed that there appears to be no obvious way to do this.
I am used to skinning files for java and wondered if there was any way of changing the appearance of the "standard" delphi7 application.
Edit:(taggs)
...
I am loading a file into a array in binary form this seems to take a while
is there a better faster more efficent way to do this.
i am using a similar method for writing back to the file.
procedure openfile(fname:string);
var
myfile: file;
filesizevalue,i:integer;
begin
assignfile(myfile,fname);
filesizevalue:=GetFileSize(fn...
Can TClientDataSet Nested (one-to-many) DataSets be created at runtime?
Is there any code that shows how to do this?
Thanks,
Bill
...
Can a TClientDataSet XML file be restructured without loosing data?
Are there any demo applications or source code that shows how to do
restructure?
...
Is there any difference or advantages using binary a file or XML file with
TClientDataSet.
...
I have created a delphi component which descends from TGraphicControl. Is it possible to add support for mouse wheels?
--- Edit ---
I've exposed the MouseWheel events as shown below but they aren't called.
TMyComponent = class(TGraphicControl)
published
property OnMouseWheel;
property OnMouseWheelDown;
property OnMouseWheelUp;
...
Yo.
I need to scan a directory and its sub-folders, I used FindFirst and FindNext procedures, but the TSearchRec's Name property is a string, thus unicode folder names (hebrew, arabic etc) are '?????' in the Name property.
I tried using TntComponent, with WideFindFirst, WideFindNext and TSearchRecW.
But I still get ?????? for folder na...
How do I get the current mouse cursor type? In Windows.
I mean - if it's a hourglass, an arrow, etc? I need it even if the mouse is ouside of my application or even if my program is windlowless.
In C#, Delphi or pure winapi, nevermind...
Thank you very much in advance!!
...
When using Delphi IDE, it will silently change SQLConnection.Connected to "true" when populating field or table lists in various properties.
Since I don't want to release with Connected = true, I need my dunit test to fail when TSQLConnection.Connected is left true in dfm.
...
Is there really not a TSpinEdit control for floats in Delphi? It looks like there are third party components that supply a control that will work.
How do you implement TSpinEdit for floats? I've been creating my own with a TEDit field and a TSpinButton positioned right beside it but it seems like there should be a better way.
...
Delphi(6-7-2005-2007-2009) Wsdl Importer is badly :(
i'm looking another wsdl importer for delphi. (like Web Service Toolkit For Lazarus)
anybody know ?
...
How do i get the location of the file that i used to open my programs with?
Example: if i create a new extention ".xyz" say and i tell windows that i want to open the file type .xyz with myapplication, then it starts my aplication. Great, but how does my application get a handle on the file path of the file that was used to start it?
...
I'm may be missing something but I can't find the Delphi 2007 WSDL Importer anywhere. I've looked in New -> Other -> Web Services where it is supposed to be and all of the other sections as well (just in case) but it's not there. Does the WSDL Importer only ship with some versions of the IDE and not others? Has it been hidden somewhere? ...
How do i tell if one instance of my program is running?
i thought i could do this with a data file but it would just be messy :(
i want to do this as i only want 1 instance to ever be open at one point.
Edit: Re-tagged
...
I have a set of libraries written in Delphi.NET (.NET 1.1) which I want to use in my Win32 (Delphi) application. For performance related issues, I've decided to follow the COM route.
Sometimes, after rebuilding the DLL, when I try to instantiate the objects exposed through COM the win32 application hangs at the CreateComObject call--h...
Hi,
i'm interested if it is possible to make an application like an Address Book (Windows: Start->All Programs->Accessories->Address Book) in Delphi Personal Edition or in Turbo Delphi.
If yes, how to make it? Which components to use?
How to make an application to be used on some other computer, and that no files would be needed to in...