I've heard masking tape works pretty well. Place it sticky side up along walls and doorways, and they will get stuck if they run across it. To remove it, rub with cooking oil.