I just put a ring of cinnamon around any hives that seem to have a problem. Ants aren't too much of a problem here. If the bees can't access an area in the hive, like if I have the inner cover hole blocked off for some reason, they'll quickly set up shop. Then all I do is allow the bees back up there and they take care of it.