Archive for October, 2007

Disabling Internet Explorer Enhanced Security Configuration

Tuesday, October 30th, 2007

Disabling Internet Explorer Enhanced Security Configuration
Preface:

Resolve a GDI issue of Vista

Sunday, October 28th, 2007

I meet the issue on both Vista and XP. When I open several windows (maybe 10),  the system begins to show problem. The context menu cannot open or any new GUI program cannot run etc.
I did a search today and found many people met this issue.  A recommended fix is below:

PHP XMLRPC library

Saturday, October 27th, 2007

Recently I played with php xml rpc library. My main goal is to post articles from php to wordpress blog.
There are a lot of implementation on the web.

FAQ: How do I register the Audio record component?

Saturday, October 27th, 2007

How do I register the component?
Answer: Once you buy the component, a registration code will be sent to you by email. After creating an object instance of Active Audio Record in your favorite programming languages, calling the SetCode method with the code you got by email before recording. In this way, every limitation in trial […]

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 […]

Tips: get the filename of current exe file or dll

Wednesday, October 3rd, 2007

It is good to keep some programming tips we used.
To get the filename of the application, most of the time you can call:
sFileName := Application.ExeName; // or sFileName := ParamStr(0);

Capture image in an existing webbrowser control

Monday, October 1st, 2007

Htmlsnapshot can capture image of an existing webbrowser control and save it into jpg, bmp, gif, png etc.
You need to pass the object instance of the webbrowser control (IDispatch in C++).