New hard drive but I can't get any sound



You must have done more than just put in a new hard drive. Reinstalled XP ?
You must reinstall the Audio Drivers for your computer model from the Manufacturer's Web Site.