All Delphi

Everything You Want To Know From VCL, Tips To Snippet All Everything About Delphi And CodeGear Related

How To Retrieve Temporary Folder

26th November 2009 by

AllDelphi.com Reader ,Have you ever got to the point where you need to know what is the full path for temporary folder on your system ?, or maybe need the temporary folder to put some scratch file or temporary file to be use on your system but don’t know for sure where is the temporary folder exact path ?
Well , dont worry bellow is the snippet that you can use,
enojy..
Read the rest of this entry »

Bookmark and Share

Posted in Snippet | No Comments »

Virus Start To Attack Delphi Program! ….

9th September 2009 by

After Some times Delphi as a RAD Development run without disturbance from any virus attack, and since it is
very popular the Delphi finaly got this attack , virus started to target any development tools to gain leverage
for distributing their loom , well bellow is a F&Q I Copy paste from Nick Hodge blog hope can make ,
all alldelphi.com reader’s fog clearer , enjoy guys and girls.
Read the rest of this entry »

Bookmark and Share

Posted in Uncategorized | No Comments »

Formatting a File Size in Bytes for Display

15th October 2008 by

When working with files from Delphi you might want to display the size of a file to the user in a Explorer-like format where the file size is not displayed in bytes – but the display depends on the size of the actual file.

To most users “45678123 b” is confusing – where “43.56 MB” is much more user friendly.

Format Byte Size to String

A custom Delphi function, FormatByteSize, converts a byte value into a string that represents the number expressed as a size value in bytes, kilobytes, megabytes, or gigabytes, depending on the size.
Read the rest of this entry »

Bookmark and Share

Posted in Snippet, Tips | No Comments »

Using Semaphores in Delphi, Part 2: The Connection Pool

30th September 2008 by

Too Read The Previous Article Please Read This..
Abstract: Semaphores are used to coordinate multiple threads and processes. That semaphores provide multiple threads with simultaneous access to a shared resource is highlighted by the TFixedConnectionPool class described in this article.

Semaphores are like mutexes on steroids. Not only do they provide for blocking thread synchronization, but they permit two or more threads, up to some specified maximum number, to work concurrently with a shared resource. As a result, they are unlike most other synchronization objects, which typically provide access to one thread at a time. For an introduction to the creation and use of semaphores, read the preceding article in this series on the Borland Developer Network site by clicking here. Read the rest of this entry »

Bookmark and Share

Posted in Snippet, Tips | No Comments »

Using Semaphores In Delphi

14th September 2008 by

Abstract: Semaphores are like mutexes on steroids. Not only can they coordinate multiple threads and process, but they can permit more than one simultaneous lock. This article shows you how to use these useful objects in a multithreaded environment

Semaphores are powerful synchronization objects that, like mutexes (mutually exclusives), permit you to coordinate multiple threads and processes in your Delphi applications. Likewise, in multithreaded server environments, such as WebSnap, Web Broker ISAPI servers, and IntraWeb applications, semaphores provide a flexible mechanism for protecting shared resources.
Read the rest of this entry »

Bookmark and Share

Posted in Snippet, Tips | No Comments »

How To Count Procedure Performance

23rd July 2008 by

Hello all delphi.com readers, Lately I got a lot of job, and the deadline was very-very tight.So I Can not post too regularly so for you all delphi.com readers I apologize, you guys have to wait, life must go on right ? :D
Ok, now I want to share a trick on how we to measure the performance of one procedure or one syntax.
Read the rest of this entry »

Bookmark and Share

Posted in Tips | 5 Comments »

Skin Adapter For Bussines SkinForm Version 3.9.1

20th July 2008 by

Hi all delphi readers it’s been a while since my last posting. Recently I can’t access using my office connection to this blog, I’ve complaint this to the customer service of the internet provider but then it still happening, also I’ve been not well for this few days.
So to make up to you guys I thought I’m gonna give you a lil’ component that you guys will found it usefull if you all delphi readers has download the Bussines SkinForm

Read the rest of this entry »

Bookmark and Share

Posted in VCL | No Comments »

How To Make DBGrid Autosize

14th July 2008 by

Hi all delphi readers, have you all confront with this situation, imagine you have created some nice application with superb GUI (Graphical User Interface) but then when you do the final testing and review you find out that. Data that has longger length compare to DBGrid field length was castrate..that was very – very annoying. yeah ..I also think so i know this feeling because I’ve been there.. :D Read the rest of this entry »

Bookmark and Share

Posted in Snippet, Tips | No Comments »

How To Coloring DBGRID Row

12th July 2008 by

hi all delphi readers, You’ve seen this surely on web pages. Alternating table row colors means displaying the first record in one color and the second record in another color and continue to alternate the color of each row displayed. Read the rest of this entry »

Bookmark and Share

Posted in Snippet, Tips | No Comments »

AlmediaDev DynamicSkinForm (Version 9.41)

10th July 2008 by

Hi, All Delphi readers, time to see and evaluate this baby out of the box ..feel free to download my gift on below link.. :) Read the rest of this entry »

Bookmark and Share

Posted in VCL | No Comments »