The code for Dish is 1313 in V7 and below, and usually 2294 in V8 and above.
If this does not work, the issue may be that the Dish STB is set to RF (radio Frequency) and needs to be changed to IR (Infra-red).
This process can be different depending on your Dish STB so please refer to your Dish manual by clicking HERE.
However, in general:
Use your Dish Remote, press Menu, then look for settings or preferences, or remote set up, and follow the instructions.