HAve u checked there both connected to the same network and are in the same Workgroup.(THEY MUST BE IN THE SAME WORKGROUP)
Try turning off the firewall and restarting both pc as they could have been blocked, once they turn back on have a look to see if you can detect them