This works:
http://www.picbasic.co.uk/forum/showthread.php?t=18491
but if it didn't, it would be easy for everyone to help.

The reason I find this funny, is total lack of information
like "I have a problem with my kite, it doesn't fly".

Unless you know you can use the EEPROM you did,
that could be a problem. It would have been for one I wrote.
So it would help, for example, you communicated that you do,
or don't know it's ok to substitute that EEPROM.

If it's a personal project, check Microchip samples won't provide the right one for free.