In my brief (almost 3 months now!) exposure to PIC's, one of the most important things I've learned is that if a port doesn't act the way I expect, the first thing to look for is whether or not I've got all the appropriate registers set to make sure my pin is digital or analog, input or output, etc.

I've been tripped up by that one too many times already!

Glad I could help be part of the solution for once.