Question: how do i program my directv remote to control the volume on my samsung tv?
Answer: Press MENU on your remote.
Select Settings & Help > Settings > Remote Control > Program Remote.
Choose the device (TV, audio, DVD) you wish to program. ... 
Follow the on-screen prompts to complete programming.