vb.net - Exit busy function

  • Thread starter Thread starter Wal
  • Start date Start date
W

Wal

I have written a program which lists all possible English words from a
set of letters. Trouble is if you enter something over 8 letters long
the [swap letters around then verify word] function can go on for
several minutes.

I've put in a progress bar and word counter to show the program is busy
working in the background but they may still want to exit early (without
using Windows End Task).

I can't figure out how to interrupt it because all resources are busy so
clicking a Cancel button wont get any attention until the process ends.

Perhaps if the process can check for user input at regular intervals eg.
the Esc key has been pressed?
 
I have written a program which lists all possible English
words from a set of letters. Trouble is if you enter
something over 8 letters long . . .

You've already posted that very same question in a different thread in the
same group just 14 minutes ago, and there has just been a response to it.
You're going to confuse everybody if you post the same question in different
threads. Please stick to your original thread, and have a bit of patience.

Mike
 
Back
Top