Yes, squeaky floorboards under carpet can be fixed using counter-snap screws. Mark the squeaky spots, pull the carpet taut, and insert screws through the floor into the subfloor. The carpet surface ...
If the floor is open from below, You can drive screws up through the subfloor and into the finished hardwood. Just be sure to use short screws that won't penetrate the top layer of the finished ...