I have tried several different things and my cd rom is still not detected

does the burner show up in the bios. if it does and it under windows device manager as a cd-rom drive then your missing the burner software. there are a few free ones out there. if the drive not showing up in the bios or under windows device manager if it an ide drive check the cables and the ide jumper on the drive. if the drive on the cable by itself then set the drive to master.
if it on the cable with a hard drive or another cd-rom the first device (hard drive is master and the new cd-rom is slave.).