@SoniaFouler - you’ve really stood out on this thread with your doubts.
There are multiple reasons why a dog might not yelp/scream/bark/make any noise if bopped on the muzzle/slapped etc etc.
Anyway, for everyone else who has, or encounters, jumpy dogs. First rule is - don’t hit them!
Most effective rule, as an owner, is remove dog from situation - ideally before the event could happen. If you have a “jumpy” dog, then set up a space/room for said dog before your guests arrive.
For those trying to stop dogs from jumping up, don’t turn your back on them as “punishment”. Dogs turn their back to another dog as a sign of “submission/I’m not a threat”.
As an owner, you need to teach your dog that jumping up has no benefit at all. Reward/praise them for all paws on the floor!
If a dog jumps up at you, do t hit it or push it away with your hands. And don’t turn your back on it. Just walk towards it, gently, they will eventually climb down.
Best thing, in puppy stage, is to encourage and reward for all four paws on the floor. Doesn’t matter if it’s a chihuahua or a Great Dane. No one should have to tolerate a bad mannered dog.
OP - I’m with others on this thread. The kitten thing would have made me seriously think about how to handle future visits. That kind of flippant dismissal re animals would render that person unwelcome in my house.