ADD
Code:
TRISB=0 ' make all of PORTB = OUTPUTS
to the top of the examples posted by Jerson and me.

HIGH AND LOW make the pins an output for you - setting them with PORTB = 1 (for example), you have to make them outputs first since they default to inputs on power up.