Solenoid for opening door latch
How about using a motor to slide the latch instead? (actuator)



It should have enough torque to move the latch left and right. Possibly different types will have various maximum lengths.

You will need a constant power source on a relay that is switched by your controller. It depends what you are using. Arduino? or some pre built IR receiver that has I/O available. There is not enough information on what you want to use to answer that properly. 

There are solenoids specially build for door.



And again. This particular one is driven by 12volts so you would have to have a constant supply switched by a relay or two. One for forward/open the other for reverse/close.

You will have to shop around your self and do some more research in how you are going to control it all. Then when you got some better idea come back and ask a more specific question if you run into trouble.  There seem to be many tutorials on the web about this sort of thing.