I also had trouble programming my TWC remote to my Memorex TV and I tried all the codes in the book and repeatedly pressing the power button until after 30 minutes I gave up.
Continued to use my existing phillips remote for the TV separately. Wasn't possible to use the codes from the phillips remote on the TWC remote since the phillips used four digit codes while the cable box remote used three digit codes.