jesusfreakmths: Check out
http://kevin.org/frc for some camera implementation code.
1573: In order to program your robot you will need to press and hold the PROG button on your RC, until two orange LEDs are illuminated. Once this is so, send the code with your laptop, but make sure that you have the correct serial port specified. If you are using a USB-To-Serial adapter, you may need to check which COM port it's mapped to. (Control Panel > System > Hardware > Device Manager > Ports (COM & LPT)).
If you're not sure if your adapter is working or not, connect the serial to the program port, open the IFI loader terminal (make sure the window title says that you're connected properly) and hit the reset button on the RC. You should see an init. string. If not, the problem is in your adapter.