P.S. Boric acid is not harmful to pets. It is a white powder so when mixed with sugar you can't tell which is which.
My dad always sdded enough grated onion to make a stiff paste the rolled into marble size ball. This can be placed in cabinets or where ever needed. Not harmful people or pets.
But I said in earlier note Carpenter ants have to stopped at the nest.