All Delphi

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

    Search

  • Sponsors

  • Spottt
    Spottt

Thread Safe StringList

16th June 2008 by User ImageadminUser Image (Who am I?)

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 »

Rate this:
2.7

Posted in Snippet, Tips | No Comments »

RapidShare Link Extractor

13th May 2008 by User ImageadminUser Image (Who am I?)

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 »

Rate this:
2.7

Posted in Uncategorized | 4 Comments »

Experience Creating application using CodeGear 2007 in Vista

26th April 2008 by User ImageadminUser Image (Who am I?)

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… :(

Rate this:
2.7
Rate this:
2.7

Posted in Uncategorized | No Comments »

How To Get Your Cpu Speed ?

16th April 2008 by User ImageadminUser Image (Who am I?)

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 »

Rate this:
2.7

Posted in Snippet | 1 Comment »

Incremental Property Search

8th April 2008 by User ImageadminUser Image (Who am I?)

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 »

Rate this:
2.7

Posted in Tips | No Comments »

GMT Time To Local Time

3rd April 2008 by User ImageadminUser Image (Who am I?)

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 »

Rate this:
2.7

Posted in Snippet | No Comments »

Case Statement Using String ..?

29th March 2008 by User ImageadminUser Image (Who am I?)

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 »

Rate this:
2.7

Posted in Snippet | Comments Off

Drag And Drop On DBGrid

9th January 2008 by User ImageadminUser Image (Who am I?)

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 »

Rate this:
2.7

Posted in Tips | No Comments »

Happy New Year

4th January 2008 by User ImageadminUser Image (Who am I?)

Hi Everybody ,

Year 2007 already past, 2008 is already coming. May in this new year we all will have new improvement on ourself, so can be useful for everybody.

So let me say HAPPY NEW YEAR 2008 :)

Rate this:
2.7
Rate this:
2.7

Posted in Uncategorized | 1 Comment »

Report Engine

19th December 2007 by User ImageadminUser Image (Who am I?)

A while ago. I got this assignment from my boss for making one report, the content it self was simple and not hard, but i need to get data that was save scattered from several different table
and the process to get it was very very annoying and frustrated.

GUI(Graphical User Interface)

At My place of work, many Delphi programmer here like to display the report on the form ..and to display it they simply make it by them self they put a lot of effort to it,By using TStringGrid,TTreeView,TListView.I was one lazy bastard :P so i think hard on how to save my finger become shorter by typing those line of syntax just to display that report to the form ..in the end i used “Fast Report” it was one of the best Engine Report i have encounter,imagine how much time we can saved just by using this report engine, after we must think how to build the data alignment,we must also think how to build and designed the GUI. As deadline coming on our tail …

Shorten the story the report was well done ..and boss was happy with my job :$ hahaha…
For those of you that has accustomed using report engine i bet u guys must familiar with Fast Report, it was straight to the point job, and the fr3 file can be hidden in a DFM file so it will not make any trouble on implementing your program, the report it self can be exported to several file like PDF,XLS even with out Adobe Acrobat or Excel it self installed cool right ? :P

So Friends .., If you guys got experience and want to share about report engine please be my guess to put your comment ..

Rate this:
2.7
Rate this:
2.7

Posted in VCL | No Comments »