Archive for November, 2007

Oracle Remote Printing Utility

November 29, 2007

Anyone tried to print oracle web-based report automatically to client machine?

You may want to try Oracle Remote Printing Utility. http://www.oracle.com/technology/sample_code/products/reports/index.html

This plugins enables client to automatically print the report to the default printer.

Code Page 936

November 26, 2007

I was trying to simulate how notepad saves UTF-8 text file which contains Chinese character to  ANSI file format. Saving to ANSI in Chinese OS and in English OS leads to a different result. In English OS, the chinese character becomes question-mark.

I use VB .NET to try to save the file as ANSI in English Environment. Alas, It still gives the question mark. However after searching for the whole day. I managed to save the text file into ANSI as the Chinese OS.

I found out, actually in English OS, the ANSI is using code page 1252 but in Chinese, ANSI is using code page 936. Thus, by using code page 936, I am able to save the text file in ANSI format in the same way as Chinese OS

To get codepage 936, Type System.Text.Encoding.GetEncoding(936). Hope it helps those searching madly like I was.

They said – 有人说

November 18, 2007

有人说得不到的东西是最珍贵的。

我却说失去的才是最珍贵的。

有人说外国的月亮比较圆。

我却说有你哪里都一样,哪里都不一样。

They said the most precious thing is the one you can’t get

I say the most precious thing is the one you lost.

War Debt

November 18, 2007

I win this war. But I have to pay for war debt.

I am afraid of going one more time.

New Entry

November 6, 2007

OK. It’s time for me to write a new entry.

I am keeping notes on my handphone to record some thoughts which I will forget soon.

So it goes : I think then I forget.

I don’t like to write any stories. I just wanna keep the thoughts on that particular story.

So I won’t have chance to offend, praise or make anyone comfortable or annoyed. At the very least, minimize it.