Jack had a problem similar to this when we first got him, I hated taking him on walks (or anywhere around other dogs) because he would bark, cry, howl and try to pull out of his collar. He wouldn't stop no matter how much I tried correcting him or pulling him along.

I quickly realized that he just didn't know the correct way to behave. We worked in the house on a "watch me" command (I could go into more detail if you'd like), and practiced multiple times a day. Finally when he was watching me reliably in the house we moved outside to "practice" and then the sidewalk, etc. Then in the beginning when we'd see another dog I'd have him sit and watch me until it passed or he calmed down enough to move on. Obedience training also helped IMMENSLY, we have taken 2 obedience classes and 4 agility classes, and now a year and a half later he can be in the same room with other dogs (or sitting right next to one) and I still have his complete attention, no more barking and carrying on.

Good luck! It does/will take some effort on your part, but this behavior is definitely fixable!! (and possible even without the use of shock collars!!)