Friday, 3 July 2009

Running PHP in IIS 5.1, IIS7.0

Here's the tutorial link that I followed.

IIS 5.1
Link 1

IIS 7.0
Link 1
Link 2

Sunday, 28 June 2009

jQuery Intellisense in VS 2008



Here's the reference on how to have jQuery Intellisense in VS 2008 .
http://weblogs.asp.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx

Easy 5 steps
  1. Go to jQuery site and download the current release and the "Documentation: Visual Studio" link.
  2. Download the patch from Microsoft to allow Intellense in Javascript. Microsoft Site
  3. Include jQuery to your web page as you normally do.
  4. Place the doc file at the place where you place your jquery.js and make sure the file name ends with -vsdoc.js.(Note, the doc file I downloaded was -vsdoc2.js, so I had to remove the "2" from file name.)
  5. Have fun!!

Tuesday, 9 June 2009

InvalidOperationException: HtmlPage_NotEnabled

Add this in Page_Loaded
==========================
if (DesignerProperties.GetIsInDesignMode(this))
return;



To avoid this problem, be sure to check if you use HtmlPage class in Page_Loaded.


If inside Page_Loaded you call another functions, make sure they do not call HtmlPage class. Otherwise, use the if statement I provided above.


Reference:
http://www.andybeaulieu.com/Home/tabid/67/EntryID/158/Default.aspx

Monday, 6 April 2009

Windows XP 優化

這是一個網站提供了很多的windows xp 的優化

http://www.alan888.com/winxp/Optimize.html


其中一個我愛用的是 "自動關閉停止回應程式"
在〔開始〕→〔執行〕→鍵入〔Regedit〕→〔HKEY_CURRENT_USER〕→〔Control Panel〕→〔Desktop〕→將字串值〔AutoEndTasks〕的數值資料更改為〔1〕→重新開機便生效

from alan888

Wednesday, 1 April 2009

Windows Live Messenger 8.5 Download

This is for people who doesn't want to use Windows Live Messenger 2009...

---> Multi Language from Microsoft Site