Solved

indeterminate progress bar

Posted on 2004-10-15
6
406 Views
Last Modified: 2008-02-01
Hi,

I have an operation that's being preformed but I have no idea how long it will take, so I just want a progress bar that spins back and forth.

I could obviously just have it start at 0 again once it gets full and keep going like that, but I don't want that.  The trends seems to be using a little block that goes across the bar and then starts at the beginning.

Does anyone know how to do this?

Thanks
0
Comment
Question by:bhanley9681
6 Comments
 
LVL 9

Expert Comment

by:glsac
Comment Utility
windows or asp.net?
0
 

Author Comment

by:bhanley9681
Comment Utility
sorry, windows
0
 
LVL 8

Expert Comment

by:AaronReams
Comment Utility
You might take a look at this code project article.  I did something similiar to this one in my application recently.

http://www.codeproject.com/cs/miscctrl/C_NeverEndingPBar.asp

Good luck,
Aaron
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 18

Accepted Solution

by:
armoghan earned 400 total points
Comment Utility
Another way is to make an animated GIF and show it on a small form.
In this way you can show any kind of progress
0
 
LVL 96

Expert Comment

by:Bob Learned
Comment Utility
I like the animated GIF idea.  The copy progress in Windows Explorer is an example of this.

Bob
0
 
LVL 8

Expert Comment

by:AaronReams
Comment Utility
Yeah, very interesting.  I have to admit, the animated GIF is a great idea.  

Its not as reusable because resizing the GIF to suit your needs would take a little more effort and I don't think you'd be able to easily resize the control dynamically at runtime either.  It also wouldn't be nearly as easily to control the rate of the progress bar movement.  

However as for simplicity if you don't mind these limitations I'd probably go that route.  Nice and clean.

-Aaron

0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now