Question: how to program a universal remote to directv receiver?
Answer: Press MENU on your remote.
Select Parental Favs & Setup > System Setup > Remote or Remote Control > Program Remote.
Choose the device (TV, audio, DVD) you wish to program. ... 
Follow the on-screen prompts to complete the programming.