In the olden days when faced with this problem, we set the first code and tried on-off. If that didn't work, we tried the second one. When we found one that turned the TV on and off, we tried the other functions (channel up-down, volume up-down). If they didn't work, we continued trying codes until we found one that worked.
Sticks and Bricks: Raleigh, NC
2008 Cherokee 38P: at Ivor, VA permanently