That's a bit impossible as speakers don't have anything to connect the remote to.
Are you maybe talking about the reciever? If so, look up the remote code online for it and then look up how to program your direct TV remote with that code, or use the learning function as most remotes have that.