mtrycrafts, just to expand a bit on MDS's post. The Harmony is "activity based". It does not have any build in codes AFAIK. It comes with a USB connection. Harmony has a data base of commands for most all equipment from most all manufacturers. After telling Harmony all your equipment wizards run you through basic activities like:
When you watch TV what video in should be used. Video 6 in my case.
Do you want to trun on your cable box at the same time. Yes in my case.
Do you use your receiver for the sound for TV? No
Here, this explains it much better than me.
http://www.logitech.com/index.cfm/products/features/harmonytopics/US/EN,CRID=2079
Nick