I just checked squash raised beds in a community garden in our area that is under attack from the Squash Vine Borer. If you have squash in your garden, this link will give you excellent information that could help combat this pest - if not this year, in future growing seasons. Don't give up - FIGHT BACK!
http://www.extension.umn.edu/distribution/horticulture/M1209.html