I had this problem several times. The dogs just needed negative reinforcement. When my incocnisderate neighbors dog barked I would go out and chuck a rock at them. The first time they would be quiet for a few minutes. The second time a little longer. Eventually the dog figures out that bad...