You are missing...
There is Vref on every pic with ADC.
http://ww1.microchip.com/downloads/e...oc/41211d_.pdf Page 63 Bit VCFG(bit 6 of ADCON0)