If the dogs are outside while barking talk to them.I used to garden for a woman whose neighbour left a large angry sounding/looking dog outside.Everytime I went I used to talk to it and I could see it through the hedge.Eventually it stopped barking each time I went and let me stroke it through...