
I have found for me what has worked best is a bottle with a spray nozzle that can be adjusted to give a good jet. this is filled with water, and when the dog barks, or better still is about to bark, a squirt of water is aimed at the face. this should have the effect of startling the dog into momentary silence, at which point the dog should be praised for being quiet.
The sequence of events should go something like this, dog barks, you say quiet, if dog does not respond then he gets squirted, as soon as he is quiet he gets praised.
I have four Elkhounds, and live in a Suburban 3 bed semi, and have found this gives me the control I require to keep my dogs from being a vociferous nuisance to my neighbours, and myself :D
Timing is important for best effect, and of course it won't work if the dog loves having water squirted at its face! Seriously you must at no point make a game of it or show amusement, otherwise you will undermine the effectiveness of this as a tool.