Seal off the barn and toss in a dozen wasp & hornet bombs. Then put diesel in a sprayer and spray down the rafters.....then be very careful not to set it on fire. I hate carpenter bees, think they all should die. Had a bunch take up shop over my boat and get shavings and sap all over the clear coat on the boat. Did I mention they should all die?