Sometimes my dogs can be sly & pick the treat out around the pill. I never know when they will act out that way so to be on the safe side I always give them the pill directly. I put it in their mouths & make them swallow. Of course they get a BIG treat after! They don't mind having it done either. They are such good dogs!
I try to deworm with strongid or panacur, but sometimes if all they have or all I suspect is just tapeworms then they get drontal which is a pill.