Getting rid of ants
As always, take preventative action. Keep food sealed (especially sweet foods). Also, if you ever spill a liquid (such as juice or soda), clean it up right away. The sugar will attract ants like crazy.
Treat the perimeter of your home with dust or a spray. This will keep ants from invading through any of those pesky cracks.
Interior treatments work well inside the home, because they attack the ants in, on, and around sources of food. So boric acid products (effective on roaches) will kill ants too. The Pest Products People recommend that you use Delta Dust and Drione Dust, applied with a Crusader Duster. Just make sure that you place the dust directly in the path of the ants, as they won't be affected by it if they walk around it.
Ant foggers are easy to use, though they might not reach some of the hidden nooks and crannies.
If your ants have burrowed into wood or foam insulation of your home, you can spot treat with a product called Bora-Care. This should be used in conjunction with another method, such as fogging. Soak all wood surfaces to the point of wetness to destroy ant colonies inside structures and to keep them from invading other structures.
Baits are highly recommended for getting rid of ants -- just place them along paths the ants use.
For more information, check out FoodSafety.org's ant tips.