Thanks for the update.
I set the fuses in the *.inc file. I should try it in the program some day.
One of the first things I did when I up graded to 2.47 was changed the *.inc, never noticed the fix

This is part of my *.inc .
Code:
        CONFIG OSC = INTIO2
	CONFIG LVP = OFF
	CONFIG BOR = OFF
	CONFIG MCLRE = OFF

  ;      __CONFIG    _CONFIG1H, _XT_OSC_1H
  ;      __CONFIG    _CONFIG2H, _WDT_ON_2H & _WDTPS_512_2H
  ;      __CONFIG    _CONFIG4L, _LVP_OFF_4L