473,756 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Show application busy whilst searching for thousands of files.

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
2 1634
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
"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/FileSystemEnume rator.zip>

While processing files, you could display an animation:

<URL:http://www.mentalis.or g/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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2531
by: John | last post by:
Hi everyone ! This is a first time I post a message here. If I post my message in a wrong group. Please ignore it. I am trying to build a website which allows users (can be thousands of users, supposedly) to upload their files to their designaged directories (max 15 files for each user). A super user (can be more than one) want to search for a particular file name and also a particular textual part of a file of all user's files in all...
0
2741
by: David Berman | last post by:
Hello, I'm receiving an error reading the machine.config file when I try to access my web application. This error came out of nowhere. After searching many sites, googelizing and searching here, I've found others with the same problem but no resolution. The problem for me (and for others) came out of nowhere. Here's the error message: >>>>> START <<<<< Server Error in '/MyApp' Application....
2
1171
by: Stephen | last post by:
Hi, I have developed my application using VS.NET and used project properties to both IE and Netscape. I am testing my application on IE and Netscape. The pages appear perfect on IE but totally messed up on Netscape. can anyone please suggest me how to solve this problem? Thanks, Stephen
4
1761
by: Ryan | last post by:
I am hoping to get some ideas on how to handle a case when an application gets too many requests for an application... I would like to handle the case well... (1) is the answer in using the queue limit attributes in the config files and setting the too busy error page (in IIS i think) to nice error page? (2) is the answer to create a upfront request-handling application that doesnt hit the database that counts requests for a certain...
4
3293
by: Kalyani Vezzu | last post by:
Hello all, I tried to write a program to search files in the given directory in Vb .net using directoryinfo object in a recursive function without multithreading. When the directory contains thousands and thousands of files my application remains in 'not responding' state without any further progress. I need to track this situation programatically. In otherwords is there any way in VB .net to get the status of an application when it...
0
1633
by: aartinawani | last post by:
Hi I have an asp.net application running under Windows 2003 Server, IIS 6, for 2 years. Today, suddenly, the site went down at 3:38 pm and the application raised an error entitled "Server too busy". Searching the event logs I found an entry for: Event ID: 0 Source:.NET Runtime
7
3939
by: josh | last post by:
Hi, I'm trying to write some code to show a little div (with an image is sayng is loading...) that is showed when the page is loading... the events I can use are onbeforeunload, onunload and onload but with that the code does not work! are there a solution to show a little div while the page is loading and then make it to disappear when the page is loaded?
10
1618
by: =?Utf-8?B?V2VuZHkgRWxpemFiZXRo?= | last post by:
Questions about creating an .net ‘executable’ 2005 that will not remained installed once a user enters some data into the application. I also want this applcation to not require any previous software installed on a users workstation. I basically want to setup an application for new users when they are applying for insurance. This application would preferably be a run as a windows desktop application versus on the internet. Once the...
1
1727
by: hardieca | last post by:
Hi, I'm building a forms app that parses thousands of text files. My boss insisted it have a GUI, to which I added an information console and a progress bar tracking the number of files parsed. Everything is working fine, except that when the application is run, it devotes itself entirely to the parsing, and the form with the console and progress bar just blanks out until the application finishes running.
0
9431
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10014
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9844
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9819
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9689
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8688
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7226
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5289
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3326
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.