Solved

Displaying Progress bar during lengthy operation.

Posted on 1997-11-04
2
239 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
repeateFront java challenge 31 99
notReplace  challenge 53 152
sum13 challenge 24 146
JQuery serialize and unserialize 8 262
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

738 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