You are still using the incorrect syntax. You need to use numbers 0 through 6 (since your pic has 7 channels), or symbols representing those numbers, not PORT numbers. If it works with a Portx, then it's just coincidence and this bad practice will come back to bite you. You could easily be reading some pin other than the one you want. READ THE MANUAL.

Second, I just read about your resistor connections:
Pic has only 3 connections ( output to RS232 and 2 analog inputs ). I have a 330K resistor from VDD to AN0 and a 47K resistor from VDD to AN1.

Measuring voltage on these 2 pins i have AN0 = 1.19V and AN1=4.82V
If my math is correct i should have readings like AN0= 244 and AN1=986 ( 10Bits calculation ).
This is the reason you are getting high values instead of low values. Either you misrepresented your circuit, or you do not understand resistor networks.

For starters, the datasheet says you need 10k max to ground--see section 12.1 of the datasheet--it's in BOLD in the first paragraph! You don't mention any R's to ground, and the values you do mention are way out of spec. If that's he case & you don't have a resistor going to ground, then you should theoretically have VDD volts at both a/d ports--and that explains your readings near 1024. If you do have an R to ground in a similar high K range, you could easily be getting an unreliable value due to the high impedance.

Toss in those extra two resistors, fix your channel numbers, and you are good to go.