TV remote codes are generally used in universal remotes that can control multiple devices from one location. These remotes can be purchased at department and electronic stores, or they may come with the installation of a cable or satellite box. To learn to use the proper TV remote codes, you will likely need the remote's manual.
If the manual that originally came with the remote control is no longer available, the TV remote codes needed may be found online. Each brand of television generally has its own codes. Some brands may not be available. If that is the case, the TV or remote manufacturer should be contacted for further instructions.
Each device will likely have a listing of several potential codes that may work. To find the correct TV remote codes for each individual device, a little trial and error is necessary. Start with the first code on the list, and keep going down until the right code is discovered.
To use TV remote codes, the first step is generally to press down a specific button while aimed at the device being programmed into the remote. Once the light at the top of the remote blinks (or remains solid, depending on the brand), the first potential code should be logged in. This will be followed by pressing the "power" button. If the device comes on, the correct code has been found. If not, start over with a different code.