Archive for the 'Technology' Category

Install php, mysql and phpMyadmin on Vista IIS7

Saturday, October 20th, 2007

Today I tried to install php, mysql and phpMyadmin on Vista IIS7. After several hours, I finally got it through.
Here are some tips:

Registering DLL and ActiveX controls from code

Saturday, October 20th, 2007

From http://delphi.about.com/od/windowsshellapi/l/aa040803a.htm
 
Registering DLL and ActiveX controls from code 
 
How to register (and unregister) OLE controls such as dynamic-link library (DLL) or ActiveX Controls (OCX) files from a Delphi application. 
 
 
 
 
One of the features that make Delphi so popular is that when it comes to project deployment, you as a developer (in most cases) only need to send […]

Fail to install Ubuntu on Virtual PC

Monday, June 4th, 2007

I tried it as well. But found it doesn’t work.
Virtual PC’s video card simulation is not supported by the default installation. I has to choose the “safe graphics” option to let it go. But when it comes to let me click the “install” icon on the desktop, I found the mouse doesn’t work…
So don’t waste […]

Install Ubuntu on Vmware

Sunday, June 3rd, 2007

Today I tried to install Ubuntu Linux 7.04 onto VMware server which is free.
The installation process is easy and smooth. After that I met  a problem on how to share the data with my windows machine which is using Vista.

Porting IDL to win64

Tuesday, January 2nd, 2007

I found a good guide article on MSDN today on this topic:

Add water mark onto images

Monday, December 18th, 2006

Some customers want to add text to the image generated by htmlsnapshot.
We will consider this feature in future version of htmlsnapshot.

Something about .Net RSA

Tuesday, January 31st, 2006

Recently I have a project that needs encryption support. The requirement is to encrypt with the private key of RSA algorithm and decrypt with the public key. I went the algorithm again and thought it is doable, so I began to write a prototype with c#. But I got an ‘invalid key’ error when decrpting […]

How to put a child window on Overlay window

Friday, January 20th, 2006

From windows 2000 above, Windows supports a new kind of window style: WS_EX_LAYERED. This window style can draw window in semi-transparency or use to make irregular window.