Arduino - Ir Communications over long rang?

josephchrzempiec:
Hello Riva does this IR transmitters and receivers Vs1838B program the same way as the other IR ones? ones Because they look Different.

I don't know how your old ones were programmed but the easy way is to use an infrared library like this or this to both send and receive IR codes.
Because the IR receiver (Vs1838B) has internal circuitry to only pass a 38kHz carrier signal the IR LED needs to have it's output modulated at 38kHz as well.
Also an Arduino pin is not capable of delivering enough current to properly drive an IR LED so it's worth considering using a transistor to turn on/off the IR LED.
Adafruit have a nice article that describes the whole RX/TX method and shows how to wire the IR LED for best effect.