Convert to VC 10

To learn and edit the code, I have to convert the solution to VC10.