This tells how to use PIC BASIC and MPLAB together.
http://www.melabs.com/support/mplab.htm

Works very well. I even use this on my Linux box.