Show application busy whilst searching for thousands of files.

P

Paul Bromley

Can someone give me a pointer of the best way to show that an application is
busy and has not locked up?

I am writing a utility to search a network drive for a number of tiff files.
I will possibly be searching thousands of subdirectories for tens of
thousands of files. I obviously will not know in advance how many files. I
assume to use a process bar you need to know this?

Many thanks yet again

Paul
 
M

Mattias Sjögren

Paul,
Can someone give me a pointer of the best way to show that an application is
busy and has not locked up?

The Windows shell often pops up a dialog with some kind of looping
animation and a Cancel button. Sometimes you also see progressbar-like
controls where the "progress indicator" either loops or bounces back
and forth.


Mattias
 
H

Herfried K. Wagner [MVP]

Paul Bromley said:
Can someone give me a pointer of the best way to show that an application
is busy and has not locked up?

I am writing a utility to search a network drive for a number of tiff
files. I will possibly be searching thousands of subdirectories for tens
of thousands of files. I obviously will not know in advance how many
files. I assume to use a process bar you need to know this?

This sample might be of interest for you:

<URL:http://dotnet.mvps.org/dotnet/samples/filesystem/FileSystemEnumerator.zip>

While processing files, you could display an animation:

<URL:http://www.mentalis.org/soft/class.qpx?id=1>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top