Solved

Displaying Progress bar during lengthy operation.

Posted on 1997-11-04
2
233 Views
Last Modified: 2013-11-20
I am sure this is a simple task, but I've no clue how to implement it.  I have a lengthy operation in my application. During this time, I would like to popup a small window (kind of like the message window) and show the progress in it.  I also need a "Cancel" button on the window, so user can abort the operation midway.
In other words, it should behave similar to when I copy a lot of files in Explorer.  How do I do this?
0
Comment
Question by:Siva_Narayan
2 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 20 total points
ID: 1309384
There is an article in Microsoft Systems Journal February 1997 Vol 12 No 2 Wicked Code. It implements a dialog box that is exactly what you want. You can download the source code (waitdlg) at http://www.microsoft.com/msj.

0
 

Author Comment

by:Siva_Narayan
ID: 1309385
Thanks a lot.  That is exactly what I wanted.
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

Suggested Solutions

Title # Comments Views Activity
Strange date stored 22 100
not able to insert into temp table 68 150
Named range not carried over 10 57
Path of Workbook 3 45
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 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

12 Experts available now in Live!

Get 1:1 Help Now