did you built the according hardware as well (max232 etc etc) ?
courtsey of www.rentron.com

Have a look at the Bruce's ICD tutorial.

http://rentron.com/PicBasic/MCS_X3.htm