All Delphi

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

Encryption, cypher and hashes(1)

24th June 2008 by

Hello, www.alldelphi.com readers, today i want to talk about Encryption, Cipher and Hashes after googling for some times i found some article that interesting enough that i want to share to you all alldelphi.com readers so here it go.

In this article we are going to cover how to install DCPcrypt Cryptographic Component Library (open source), how to call methods for encrypting and decrypting strings, and finally we will take a look at the advanced topic of encrypting files. Our examples relate to applications written in Delphi5 or similar. For our examples we assume you already have a basic understanding of Delphi but only a limited understanding of encryption components and techniques.
Read the rest of this entry »

Bookmark and Share

Posted in VCL | 6 Comments »

How To Completely Delete BDE Engine

21st June 2008 by

Hi AllDelphi.com Readers, today i want to upgrade my delphi 7 installation to codegear and i want to make it as clean install as possible so i uninstall all delphi 7 related including all the BDE Engine. then when i open my control panel i found one icon that really – really piss me off, there it stand the “BDE Administrator” icon proudly as like it want to make fun of me and say ..”hey you could not removed me…i will stay here as long as i want hahahaha “, did you guys ever have the feeling like that or stump to something like that ? what make it worse is that when i tried to search it on google no article can be found to show me how to delete that bde administrator icon on my control panel, i also found so many lines people said that bde has been abandon by Borland . Read the rest of this entry »

Bookmark and Share

Posted in Tips | No Comments »

Thread Safe StringList

16th June 2008 by

Hi Guys, it’s been a while since my last posting here. There are alot of responsibility now on my job. Recently  i got opportunity to play with threading again and this this time those multiple threading accesing one same TStringList.

for some of alldelphi.com user that has experienced on  multithreading field, i think already know that borland Delphi standard TStringlist is not a thread safe. let say that i have learned it the hardway i took several scratching on the head and slap on my forehand before i realiase that the TStringList is not a thread safe, so i need to figure out how to make the stringlist become a thread safe.Luckyly for me that a quick serach on google show this source . Read the rest of this entry »

Bookmark and Share

Posted in Snippet, Tips | 2 Comments »

RapidShare Link Extractor

13th May 2008 by

hi, lately i have frequently download tvseries,movies or other data from rapidshare search engine listing, so in the listing web they have humongous rapid link that we can download from. but when i want to copy and paste to my flashget download manager i got so lazy to read and filter all the unneccessary link, so i created a program that can parse and extract all rapid link from some html source page :D , also after that link that has been extracted can be added username and password for the rapid account. you see when we want to download from rapidshare using premium account flash get will get an error which is like it did not login at all so to overcome it we must put the username and password on the front of the link. Read the rest of this entry »

Bookmark and Share

Posted in Uncategorized | 6 Comments »

Experience Creating application using CodeGear 2007 in Vista

26th April 2008 by

Few days back, i got assignment from my boss to convert delphi application so can be run on vista, These application using TGif component to show some gif picture draw on the paint box. problem that i encounter when using vista is that now the windows have features to protect user from malicious software called User Access Control especially when the picture was put on one of mapped network drive.
the syntax of FileExists cannot find the respected file on that mapped network drive even the file was there, at first i try to find the caused why the FileExist cannot find the file even the file was laying there perfectly.it took a lot off pulling hair and scratch in the head that finally i found out that there was something fishy with UAC and the FIleExists incident, by disabling the UAC then the application work prefectly.by Now i wonder why microsoft making such features with out a proper documentation that we developer can read and understand… :(

Bookmark and Share

Posted in Uncategorized | No Comments »

How To Get Your Cpu Speed ?

16th April 2008 by

For you guys that need to know what is your cpu speed we got the snippet to get the cpu timer speed here … Read the rest of this entry »

Bookmark and Share

Posted in Snippet | 1 Comment »

Incremental Property Search

8th April 2008 by

Hi, for all of u that have used delphi for sometimes, i think this tips is usefull.

if we need to edit certain published property on some object in the property editor and also if the object have long – long published property ..then some times we will have some difficulty in finding those property. Read the rest of this entry »

Bookmark and Share

Posted in Tips | No Comments »

GMT Time To Local Time

3rd April 2008 by

Hi, have you guys , ever involved in creating application that will be used in different country or event different time zone ? well in most case ..all data that have DateTime value will be much saver if we saved it on GMT time basis.. and there for when we want to display the data to our GUI need to be converted into localize timed, Read the rest of this entry »

Bookmark and Share

Posted in Snippet | No Comments »

Case Statement Using String ..?

29th March 2008 by

Have you ever wish that delphi case statement can use with string, and you find out that it was can’t and it only received ordinal …? well with a little trick now you can use case with string. Read the rest of this entry »

Bookmark and Share

Posted in Snippet | Comments Off

Drag And Drop On DBGrid

9th January 2008 by

On Recently, i received project that required DBGrid having ability drag and drop to other object, On delphi.about.com they have samples that can make our DBGrid has the ability to drag and drop but the drag and drop it self is not perfect since every left click on the field will execute the begindrag() function, so the problem is how delphi know when to drag n drop and when is only left click. Read the rest of this entry »

Bookmark and Share

Posted in Tips | No Comments »