I dislike spraying pesticides....they not only kill the ants, but beneficial insects as well. A borax, sugar & water 'syrup' is a very effective 'poison' for ants.
My solution was to build a container for the "ant syrup" that would allow easy access for ants, but not for birds, animals and other insects that might find that sweet syrup appealing......and its pretty secure from curious kids. I wanted something that could be used outside & withstand the elements....and the design to be such that evaporation wouldn't pose a problem (I wanted the syrup to stay syrupy)! And I wanted it to hold enough syrup that I wouldn't have to frequently refill it.
I wanted to set it in place & forget about it! This WORKED for 9 months on one filling.
2 cans, one slightly shorter & smaller diameter than the other
foil duct tape
a kitchen 'scrubbie' (Scotch-brite pad type)
Borax (found in the laundry detergent aisle)
can opener (the type that 'removes' the lid, rather than the kind that cuts into the lid)
large nail & hammer (to make access holes for the ants)...... or a drill & drill bit
scissors (to cut the 'scrubbie pad')
Step 1: "Remove" the lid
At the end of this process, the lid will be reattached.