Grub rescue error

I used gpart to partition a 600g hard disk with preinstall win7. When I boot up after that, boot sector for win7 was gone or maybe replaced. The grup rescue command prompt appear. I couldn’t fix it.
I simply install Linux and got a new boot menu.

When I migrate win7 to virtual box the same problem appear. This time I had to use win7 rescues disk to fix the problem. Below are the steps I found

1. Put the Windows Vista installation disc in the disc drive, and then start the computer.
2. Press a key when you are prompted.
3. Select a language, a time, a currency, a keyboard or an input method, and then click Next.
4. Click Repair your computer.
5. Click the operating system that you want to repair, and then click Next.
6. In the System Recovery Options dialog box, click Command Prompt.
7. Type Bootrec.exe /FixMbr, and then press ENTER.

VS2008 events handler

If you are using the Visual Studio IDE 2008 onwards, you will not find the event handlers by double clicking on the components or from the drop down box in code view.

You have to toto properties of that component and click the Events icon. You find all the event handlers there. Double-click the event that you want to create, for example the Load event.

DVD Player Region Hack

I purchase a LG dvd player sometime ago. It was a display set on sale $300 for a $500 set. Recently, it somehow cold booted, and some DVD I bought cannot be played. A message “Wrong regional code”.

I google a bit and found that I could hack the region code.

I got the instruction from videohelp.com/dvdhacks
1. Press “Home key on Remote Control

2. Using your cursor keys, move to “Setup” and press “Enter” on the RCU

3. Move cursor to “Lock” icon using down arrow on Remote Control

3. Press “Zero(0)” key on Remote Control 7 times (0-0-0-0-0-0-0)

A dialogue box with a message saying “Congratulations! Region Change Fee!”

I suspect my set was set to region free by the sales guys at the store when on display.

Kindle Available For Sale Outside US

Finally…we get Kindle ship to us outside of US. Amazon introduces a new addition to the Kindle family of wireless reading devices: Kindle with U.S. and International Wireless. With this new Kindle, you can receive your books, newspapers, and magazines wirelessly while at home or abroad in over 100 countries. Whether you’re in New York, Paris, São Paulo, Mumbai, Beijing, Tokyo, or Sydney, you can think of a book and be reading it in less than 60 seconds. The $279 Kindle with U.S. and International Wireless can be preordered today for delivery starting in two weeks.

Kindle utilizes the same 3G wireless technology as advanced cell phones, so you never need to hunt for a Wi-Fi hotspot. Unlike cell phones, there are no monthly wireless bills and no yearly contracts. There is no software to install, and no syncing required.

The 8″ x 5.3″ x 0.36″ Kindle is as thin as most magazines and weighs less than a paperback—but can hold 1,500 books. Its electronic-ink screen looks and reads like real paper with no glare—even in bright sunlight. A long battery life means you can read for up to two weeks on a single charge.

You can order one here