You can start by not writing that code. Parallel ports are not for driving LED's and you can blow the port up if you don't know what you're doing, which, let's be honest here, you don't.
Start with hardward that is more affordable to blow up, like something designed for the job.
You can check out
Phidgets.com[
^] for a PhidgetsInterfaceKey (look under I/O boards)
Or, if you're so inclinde to build a little hardware and teach yourself some digital electronics, a
Netduino[
^], or
Arduino[
^]. The difference here is that a Netduino runs the .NET Micro Framework and the Ardunio doesn't.