Does "have" mean the same thing in these two sentences?

I won't have this dog in my house!

Have, throw, or make a party.
different meanings