Archive for March, 2010

About AutomationInteropProvider.HostProviderFromHandle

Wednesday, March 3rd, 2010

 

It can return a provider from any window which has a handle, including not only top-level windows, but also normal controls such as buttons.

The following sample demonstrates that a provider is successfully returned from a button handle:

image

The output:

image

忽然发现能够敲中文了

Monday, March 1st, 2010

 

由于是虚拟空间,数据库是我是管不了了。但是只要改写wp-config.php文件里的define(‘DB_CHARSET’, ‘utf8’); 为 define(’DB_CHARSET’,’’);

就OK了。另外发现用Live writer向WordPress发文或是发图片都很方便。