VB.Net 2010, XP

I have a program which reads .xls, .doc, .msg, .htm, and .txt files searching
for a word or phrase and adds the findings to a grid.
After I minimize it, it will not restore when I click on it on the taskbar. It
just beeps.
I have added DoEvents in all places inside loops. That has not helped.

Ideas?