portb not use for adc i must set adcon1 when use portb?It does look, from your pictures from PICKIT2 (although you say you are using PICKIT3), that the config is set appropriately (for the '877A at least) though it is good practice to include those settings in the source file to ensure they are set correctly and to document them for the future.
Do you have a pull-up resistor on /MCLR?