Hello phinder and Kevin,
I am not sure what type of power you need for these solenoids, but here is an example of controlling the mains voltage from a PC. I can't imagine you would need any more power than this for the solenoid.
You can use the parallel port of the PC to set a pin high, which...