My compaq laptop has no sound

Windows XP?

Right click my computer - Properties - Hardware tab - Device Manager - Scroll down to audio devices and see if you have drivers installed for the audi device. If not go to compaq website, and do to the support section and I am sure they have drivers available there to download.

Or just go to Start - Control Panel - Sounds and see if you have a device in there too.