I don't recommend using a shock collar at all for these behavioral issues. You can train her by putting a leash on her when you expect company.
Train her by keeping her on the leash and making her sit, stay and calm down. Don't let her jump on the visitor. This can only be done with...