I used the ff. adapter to program a surface mounted PIC from a PICStart Plus programmer. This requires the PIC to be powered from the board.
Make sure the MCLR line is not loaded too much because the PICStart drives this to about 12V.
Although I haven't encountered one, some PICs require certain pins (RB3, RB4 or RB5) to be grounded to prevent them from going into low voltage programming mode.