Chau Chee Yang Technical Blog

Wednesday, August 20, 2008

Delphi 2007: Out of Sync problem in .DPROJ

›
Background Delphi project file consist of only one file (.dpk) before Delphi 2006.  Beginning of Delphi 2006, MSBUILD (similar to ANT) is ...
Monday, May 26, 2008

Install Windows Vista from USB Flash Drive

›
Most machine nowadays has built-in USB 2.0 hi speed port and able to boot from USB flash drive . But not all machine has CD/DVD-ROM. The f...
Wednesday, May 07, 2008

Some useful RPM command

›
Redhat or Fedora using RPM to manage package installation. RPM will report package dependencies if the installation failed. However, I fou...

Configure a masqueraded router

›
A router need at least 2 network interfaces. The following example using 2 network interfaces, eth0 and eth1 as example. eth0 is external...
Friday, April 11, 2008

Draw a translucent effect image

›
We may use windows GDI function AlphaBlend to draw translucent graphic. The following example extract a portion of desktop image and draw t...
Wednesday, March 19, 2008

Compile DPK files using DCC32

›
Using Delphi command lines compiler DCC32 to compile programs allow us to set some switches to get various kind of output. The most common ...
2 comments:
Saturday, March 08, 2008

Retrieve Shell Folders

›
Windows has some special folders like My Documents, SendTo, Desktop or Favorites. The location of this folders are keep in the following reg...
Tuesday, March 04, 2008

Beware of XML Content contain CRLF always cause problem with Google API

›
We may consume the Google API to post entry of event kind. Those entry are mostly encoded in XML content. It is a common habit for windows...

Using Indy HTTPS client to consume Google API service

›
Indy VCL 10 distribution supports SSL via OpenSSL but it didn't bundle the DLL library. We have to download the Win32 OpenDDL from her...
3 comments:
Sunday, February 24, 2008

Resize Form even if it is borderless

›
We may make a form without borders to show some additional information using some popup windows. However, a borderless form will no longer ...
2 comments:

Move a form without dragging on the title bar

›
We usually use mouse to drag the windows form title bar to move the window on our desktop. There is a new way to move the form by just drag...
Thursday, February 21, 2008

TListBox review

›
TListBox is a simple visual component that always use for display a list of items but it has some nice features that we always neglected. U...
Saturday, February 09, 2008

Create home directory manually

›
When we use /usr/sbin/useradd to create a user, it's home directory may contain some default files or folders (it is hidden usually). H...
Thursday, January 31, 2008

Color MDI Form

›
If we want to change background color of a form: we usually do like this: Form1.Color := clYellow; However, if a Form's FormStyle i...
1 comment:
Thursday, January 24, 2008

How to avoid creation of ~BPL files in Delphi 2007

›
There is only one way to prevent creation of ~BPL in Delphi 2007 IDE: patch delphicoreide100.bpl in C:\Program Files\CodeGear\RAD Studio\5.0...
Thursday, January 17, 2008

Setup Visual Studio 2005 to build Firebird source

›
Due to I/O redirector problem in GBAK.EXE ( http://tech.groups.yahoo.com/group/firebird-support/message/90995 ), I download Firebird source...
Wednesday, January 16, 2008

Embed out of process windows into Delphi Control

›
We may easily embed a Delphi GUI control into another container control like TForm or TPanel: var F: TForm; B: TButton; begin F := TForm....
Saturday, December 22, 2007

Connect to Firebird 1.5 database on Windows Vista using Local Protocol

›
Using Local Protocol to connect to Firebird database no longer works in Windows Vista when we install firebird server using setup file's...
Saturday, December 08, 2007

Create a I/O redirection console application

›
Typical DOS application that may perform great function are GREP, MORE, SORT. These functions chain together via command redirection operat...

Scrolling TMemo and TRichEdit control at runtime

›
Here is the code to scroll TMemo control to bottom at runtime: var M: TWMVScroll; begin M.Msg := WM_VSCROLL; M.ScrollCode := SB_BOTTOM; ...
‹
›
Home
View web version

About Me

My photo
Chau Chee Yang
View my complete profile
Powered by Blogger.