xbee with arduino mega to xbee with explorer rarely sending correctly?

I have a program on the arduino side and a visual basic program on the computer. When we run the program excluding the wireless (xbee) then everything works fine. As soon as we add in the xbee it amost never works. Every great once and a while it’ll correctly receive the data. The RSSI light goes green on the xbee explorer board every time we scan a card but our program doesn’t register that it’s been received. What information do you need from me to give me advice on this?

I would suggest starting with looking at the baud rate. Next look at the voltage levels you are feeding to the radio. The radio is a 3V device and you need a level shifter to connect it to a PC or 5V Arduino.