syntium87 WROTE:i'm new to programmg of pic...i'm using the pic16f84A...
after i program it n build the program..an error appear even the program build is successful..
the error is like this..
"the configuration bits in the file are invalid and may cause problems if programmed
Do you want to set them to their default value?
Please note that you will need to either rebuild the file or export memory again to correct the file
Config field :CP "
can anyone help me on this??

Apparently this error is a warning in the PICkit2. The microcontroller may run normally, but not of the desired configuration bits.
I assume you are using Mikroelektronika's MikroC for PIC here, so go to Project->Edit Project and modify the configuration there (Oscillator selection bits, blah blah blah drop down menu) as you wished.
Do not edit the right hand box which labelled "Configuration Registers". The drop down menus on your left are sufficient.
Also check "Release" on the build type.
If you modified the project, then rebuild it and download it into the PIC16F84(A).
PIC - UIC00B from Cytron (replacement for my broken PICKit 2), Pickit 3, MikroC for PIC
dsPIC - MikroC for dsPIC, mikromedia board (dsPIC33)
AVR - AVR Dragon
Parallax - Prop tool