15th October 2008
by
admin
(Who am I?)
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 »
Posted in Snippet, Tips | No Comments »
30th September 2008
by
admin
(Who am I?)
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 »
Posted in Snippet, Tips | No Comments »
14th September 2008
by
admin
(Who am I?)
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 »
Posted in Snippet, Tips | No Comments »
23rd July 2008
by
admin
(Who am I?)
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 ? 
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 »
Posted in Tips | 5 Comments »
20th July 2008
by
admin
(Who am I?)
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 »
Posted in VCL | No Comments »
14th July 2008
by
admin
(Who am I?)
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..
Read the rest of this entry »
Posted in Snippet, Tips | No Comments »
12th July 2008
by
admin
(Who am I?)
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 »
Posted in Snippet, Tips | No Comments »
10th July 2008
by
admin
(Who am I?)
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 »
Posted in VCL | No Comments »
10th July 2008
by
admin
(Who am I?)
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 »
Posted in VCL | 1 Comment »
8th July 2008
by
admin
(Who am I?)
hi all delphi readers , I got this review for you all to consider also you will find some interesting link below
Data Access Components for MySQL Overview
Data Access Components for MySQL (MyDAC) is a library of components that provides direct access to MySQL database servers from Delphi, Delphi for .NET, C++Builder and Kylix. MyDAC can connect directly to MySQL server or work through the MySQL client library. The MyDAC library is designed to help programmers develop faster and cleaner MySQL database applications. Read the rest of this entry »
Posted in VCL | No Comments »