Summarize this article in one sentence.
If you have a model 20.0, 20.1, 21.0, or 21.1 remote, you'll want to use this method.  If you have a 40.0, 50.0, 52.0, or 54.0 style remote, you'll need to use the previous method instead. You can find your remote's style number in the manual. Go to https://www.mydish.com/support/products/remotes/how-to/program-to-tvother in your computer's web browser. Click the 20.0, 20.1, 21.0, 21.1 heading near the top of the page. It's in the step text of step 2 near the middle of the page. Doing so opens a pop-up window. You'll see this box in the middle of the window. Doing so prompts a drop-down menu. Scroll down until you find the specific model name and number for your remote, then click it. Again, you can find this number in your remote's manual. Click the "Select a Product Type" drop-down box, then click the name of the product for which you want to program your remote (e.g., DVD). Click the "Select a Manufacturer" drop-down box, then click your product's manufacturer name. Depending on the information you entered, you should see at least one three-digit code here. Some products may have 10 or more possible codes. If so, try to use one that has the highest "Success Count" rating (it should be the top code in the list) first. For example, if you want to program the remote to work with your DVD player, make sure the DVD player is on. This button will depend on what you're trying to program the remote for:   TV — Press and hold the TV button at the top of the remote.  Anything else — Press and hold either the AUX button (all products) or the DVD button (DVD players and VCRs). These lights are at the top of the remote. Once you see them flash, you can release the button you're holding and proceed with entering a code. Using the remote's number pad, type in the three-digit code that you found for your product. You may need to enter an additional number depending on the product:  If programming your remote for a VCR or DVD player, enter a 1 before you enter the three-digit code. If programming for any other non-TV product, enter a 2 before you enter the three-digit code. If you held down the AUX button while attempting to connect your remote with your TV, you'll enter a 0 before the three-digit code. Doing so will enter your code. These will appear near the TV, AUX, or DVD button depending on which one you used. If you see three flashes, your remote is now programmed for use with the selected product.  If you don't see the three flashes, you'll have to try using a different three-digit code. If you run out of three-digit codes, try scanning for the code.

Summary:
Make sure that you have the correct type of remote. Open the remote model website. Select your remote type. Click the three-digit remote control link. Click the "Select a Model" drop-down box. Select your remote's name. Select a product. Select a manufacturer. Review the available codes. Turn on the product for which you want to program the remote. Point the remote at the product and hold the correct button. Wait for the remote's four lights to flash. Enter a code. Press #. Look for three flashes.