Is this the product the vet applied?:
News - 2012-6-11 Merck Animal Health Announces ACTIVYL AND ACTIVYL TICK PLUS
If so, I'm puzzled why the vet would put topical insecticide on a dog when you didn't ask for it, and without going over other alternative products and allowing you to make the final decision.