Friday, May 25, 2007

Little Introduction of myself

I am a gadgeteer: Zaurus Linux PDA, Windows Mobile (PocketPC), Palm, Mac OS X, Windows XP, Windows 2003 ...

Therefore, inside this web-log, many techniques dealing with these kinds of stuff will be seasoned....

For my current job, I am a C# / ASP.NET and Coldfusion developer, so some techniques for them are also discussed....

Stay tuned.....

Thursday, May 24, 2007

A mixture feeling....

This is a new web-log.
However, I have another old web-log which is in Chinese / English.

Therefore, the functionality of this web-log may be different from my origin first blog which is dealing the sharing of incidences, while this web-log may rest upon the technical information sharing (in my expertise - IT-related).

Hope this web-log can be a good referee to my career.

PS. the original web-log (http://dinorex.mocasting.com) is still functional....

[C#] Loading and reading the Microsoft Excel file contents using C#

If you are not lazy, you can search the following CodeProject via Google within seconds: -
http://www.codeproject.com/useritems/Excel_Application_in_C_.asp
This mechanism can be used, but it has some considerations: for your deployment, you need to apply the Office component (which is using Microsoft.Office..blah blah blah..Excel, instead of the mentioned using Excel; ~!) to read the cells, that means, the deployment machine needs to purchase an extra Office licence for the deployment - most of the small businesses are reluctant to do so.. moreover, since this Office Object is version dependent, when the developer has an office version different from that in the client site, a nightmare .. XD
Therefore, you must ask: How can I accomplish that goal then?..
The answer is: SIMPLY USE StreamReader to directly read the file LINE BY LINE!..
If you don't trust me, you can try it yourself by setting similar Console App and you 'll get amazing results~!
This workaround is valid even for Visual Studio 2003, and the behind scene mechanism of that fussy StreamReader Object is a mystery to me..

Friday, May 11, 2007

[MSN] Solution to solve Windows Live Messenger 8.0 or above 1603 installshield problem

everyone searching the web for the installation problem 1603 in Install_Messenger.exe for Windows Live Messenger 8.0 or above should be very annoying to the various Google Results coming from this kind of 'install MSN error 1603', as all of them are useless..
I have this problem for a while and finally I have got a 'brutal force' solution to that.. XD
1. find a clean computer to install MSN 8.0 or above using Install_Messenger.exe
2. In your target machine, install MSN Messenger 7.0 which is error free for installation
3. rename the directory name in your target machine C:\Program Files\MSN Messenger as different name (somewhat C:\Program Files\MSN Messenger.bak .. XD)
2. copy out C:\Program Files\MSN Messenger\ and put to your target machine
3. copy C:\Windows\System32\sirenacm.dll and put to your target machine
4. edit the MSN messenger 7.0 icon as you like in C:\Program Files\MSN Messenger\msnmsgs.exe .. XD
Then your installation will be successful.. XD .. cheers.. XD