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