From the time our chicks were in the brooder--okay, the bathtub--we made the dogs lay down nearby and ignore the chicks. If the kids were in playing w/the chicks, the dogs were nearby, and and as another poster said, they couldn't start staring at the chicks w/o being corrected.
Now, a few years later, the chickens in the yard are about as exciting as wrens or robins. Its almost like they don't exist to the dogs.
But at the same time, I know that my dogs have no protective instincts toward the chickens. If a chicken started running away, the dog would probably chase it. There's no perfect solution, but a consistent effort can pay off.
And then there are dogs with super-strong prey drive. Just make sure if you have one of those, its not running loose around OTHER people's chickens!!