Disclaimer是怎么出来的

msn space最近推出的PowerToys,到目前为止,有三个模块,
  1. 增加自定义模块,如Disclaimer;
  2. 增加视频和音乐(可以背景的);
  3. 自定义模板的外观。

详细请见space craft的space

我对其它两个不感兴趣,这里只讲第1个模块的增加步骤:

  1. 登录进你的space,进入“编辑我的空间”的状态;
  2. 在ie地址栏里,在URL的最后增加“&powertoy=sandbox”;
  3. 回车,或单击转到
  4. 当页面装载完后,点击“自定义”,转到自定义页面
  5. 在“模块”的下拉菜单里会找着一项名为“PowerToy: Custom HTML”,点击“增加”,然后“保存”。

对不懂HTML的朋友,可以这样做,开一个日志的新增项,在文本编辑框里做好自己的内容,格式化后,然后点击“<HTML>”,将里面的全部内容复制上,重新回到 Custom HTML部件,将复制过来的内容粘贴上。支持除Javascript等功能太过危险的差不多全部的HTML标签。所以有HTML功底的朋友自可以自由发挥,将space搞的很漂亮了。

 

Pm v2.23

仍没有帮助,有时间的朋友可以帮我写,我目前是补不上了,没有时间
也没有中文界面,既然是帮助大家学英语的,界面上的这点英语不算什么大问题吧,
如果有英语错误请帮我指出来
 
v2.2.3 [Sep-08-05]
# fixed typing a dir path in destination dir of pm tools will activate the Apply button when selecting either the backup or the restore option.
+ new Phrase Memo v2 toolkit, functioning with rebuild, back up and restore backed databases.
 
v2.2.2 [Aug-26-05]
# recompiled QtGui4.dll, to fix a popup menu bug which make menu cannot show on the taskbar.
+ singleton support.
+ double clicking the tray icon will bring up the window.
+ added system tray support. Now minimizing behavior will cause the windows hidden into system tray.
* rearrange the context menu of text edit.
# fixed when reverse selecting an underlined text then move the cursor to unformated text, the underline button will not changed simultaneously.
# fixed the cursor still keeps visible changed to read only mode.
* the cursor keep in the same position on save
 
下载请到 http://503.mygis.org,进去后,进入tags/rls-mmdd/,mmdd表示build的日期,选择离现在最近的日期,进入该目录,请下载 *_setup.exe。如果需要验证其合法性,请下载*_setup_md5.txt,内含该可执行文件的md5 hash码。你如果认为你的朋友也能用,just feel free to distribute it.
用户密码按已知的来,没有的请给我写信 giscn_at_msn[dot]com
 

在qt里实现access数据库的compact和repair

增加2个#import,
#import "C:Program FilesCommon FilesSystemadomsado27.tlb" no_namespace rename("EOF","adoEOF")
#import "C:Program FilesCommon FilesSystemadomsjro.dll"
增加从QString到BSTR的转换函数
static inline BSTR QStringToBSTR(const QString &str)
{
 return SysAllocStringLen((OLECHAR*)str.unicode(), str.length());
以下主要代码,注意在srcConnection和desConnection不能指向同一个数据源。
//compact the db
 JRO::IJetEnginePtr jet(__uuidof(JRO::JetEngine));
 QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
 QString srcConnection=QString("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=%1;")
  .arg(dbqPath);
 QString desConnection=QString("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=%1;")
  .arg(dbqPath+".tmp");
 jet->CompactDatabase(QStringToBSTR(srcConnection), QStringToBSTR(desConnection));
 bool renameError=false;
 if ( !QFile::rename(dbqPath, dbqPath+"k")) renameError=true;
  
 if (!QFile::rename(dbqPath+".tmp", dbqPath)) renameError=true;
    QApplication::restoreOverrideCursor();

雨天

昨天是Labor Day,在apartment里呆了一天。早上醒的早,出来,发现居然是阴天。不过到Union Park,可能因为工人在除草的关系,迎面都是绿草的味道,感觉好极了。只不过将到办公室时,雨下大了,弄湿了,希望不会感冒。

Hurricane and Typhoon

Katrina抵达new orleans风速达62m/s左右,按台风的定义属于super typhoon,如果要折算成风速级别的话,大概是Beanfort level 17左右。
  作为对比,Typhoon Talim登陆福建时是45 m/s,TY Haitang登陆福建大概30m/s,去年的 TY Rananim(云娜)登陆的时候大概也是45m/s多些。