By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,269 Members | 1,561 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,269 IT Pros & Developers. It's quick & easy.

Show application busy whilst searching for thousands of files.

P: n/a
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
Nov 28 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Nov 28 '05 #2

P: n/a
"Paul Bromley" <fl*******@dsl.pipex.com> schrieb:
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>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 28 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.