Samsung Moment bluetooth pairing with HTC Hero

I am able to pair my HTC Hero and Samsung Moment together however they wouldnt connect. It'd asks for a code (said to use 0000 or 1234) to connect the two phones but neither code works and therefore can't pair and connect both phones. Getting frustrated.

Any help on this would be very much appreciated. Thank you.:eek::(