Can sucking with a vacuum cleaner all of the honey bees as they exit and enter the hive entrance through a hole in a wall in your building get rid of them?

You might be able to kill a few this way, but what you are going to succeed in doing is making them very, VERY angry! When you go to empty the vacuum you will have a swarm sized problem on your hands, that is if the noise of the vacuum doesn't agitate them to begin with. Best suggestion, seek professional help. I know it costs money, but it is the safest way to avoid being attacked.