*****Note I received this as a comment to this post and I want to add it here to hopefully save people some time. Bryan (thanks Bryan) said he ran into issues with the codes and called Comcast and found out that "if your remote has a red "OK/Select" button in the middle you use a 5 digit code. Remotes with a gray "OK/Select" button use a 4 digit code. Many of the published 4 digit codes work by placing a 1 in front of them. "*****
I was trying to program the Comcast Digital Cable box remote to control the TV also. I tried all of the codes included with the remote but none worked for the new Samsung LN52A650 LCD TV. I looked around on the net and found someone saying to use a five digit code 10060. It worked, but I believe the code is actually 1006. I don't think the remote accepts a 5 digit code.
Thanks to stardotstar for posting this on http://www.highdefforum.com/showthread.php?t=62963. I had a hard time finding this so I wanted to document it again hoping it will be easier to find.
I found some more codes you can try when programming a cable box remote for use with Samsung TV:
1005, 1006, 1016, 1023, 1026, 1032, 1088, 1112, 1146, 1155, 1157, 1158, 1163, 1167, 1172, 1173, 1192, 1194, 1224, and 1225.
Here are comments that might be helpful:
From Anonymous: Try 10702 I used 10060 and it worked, however, it didn't function all the time and the volume was hard to control, as well. I own a 37" 450 Series Samsung. This is the only code that worked for it. Thanks for the help!
From Anonymous: 1163 worked without making the cable box jump to On Demand every time we hit 8
I also need to program the remote to control an old Kenwood Receiver (model RC-R0800). I have not tried these codes yet but did find some to try:
Kenwood 1313, 1027, 1570, 1569, 0027
I tried these codes for the model of Kenwood receiver we have RC-R0800 and these codes seemingly did not work. But, this was actually done by my Dad - I was helping him over the phone. We ended up buying a universal remote and discovered why the above codes may have worked but we didn't know. Usually when testing a code they tell you to hit the power button to see if it turns on the device. In this case, we found out the Kenwood had to be on. Nothing would turn it on from off, but if we turned it on, we could then turn it off. Once we did that we could turn it on and off. He was going to go back and try the Comcast codes but I have not talked to him since then. If you try this, turn on your device and see if the remote will turn it off - for some reason it wouldn't turn it on when testing even if it was the right code.