the old Vapona has been withdrawn long ago. You can get very effective vapour-release products for wardrobes, but they would not be big enough to do a whole room, where the vapour would not be confined in a small space.
Rentokil do a spray called Insectrol which is a mothproofer aerosol which I believe you can spray on carpets, but check the instructions. I think it lasts a while so clean the carpets thoroughly first.
IME carpet moths like to live round the edges, and climb down the gap by the skirting boards. Also in the gaps under and behind furniture. Frequent hoovering helps keep them down.
If you think you have moths, put a Transfluthrin product in each wardrobe or drawer, after you have vacuumed and cleaned it. All the mothproofing products that work have it in these days, they are usually one per half-metre of space and last a few months, but check the label. I get mine from Robert Dyas who have a few brands, usually one on special offer.
If you have an infestation, get some of those big transparent recycling bags and the plastic crates with lids. Put everything through the tumbler drier, the heat will kill larvae and eggs, then put each treated garment in a bag, or crate, and tape or tie it shut. Expensive things, or to be sure, put a Transfluthin product in the bag or box.
other shops sell them too