Click here to Skip to main content
15,938,446 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on an application that will be used for transferring text files to a server. Before transferring the file, the application needs to read the entire file to make sure it is formatted correctly. Overall, I would estimate that the application will need to check between 10 to 20 different things in the file. I would like to be able to report the progress of each of these checks to the user and report whether each one passed or failed. If one of the tasks fails, I would then like to report the exact issue so the user knows what to correct.

I am struggling with coming up with the best way to report the progress of each of the checks on the GUI. I currently have the progress being reported in a listbox. The listbox works fine but it doesn't seem very dynamic. If there is an error in one of the checks, I want it to really stand out so is easy to find.

I also considered reporting the progress in an unbound datagridview. I figured I could list all of my checks in the DGV and then add a field that would tell whether it passed or failed. I could then also set it up so that if one of the checks failed, I could highlight that row in red. The only issue I have with doing this is now how do I tell the user what to fix when the check fails? I considered adding another column to the DGV for the error text but then that column would show up even if there are no errors.

Does anyone have any other suggestions? I'm sure I'm not the first one to do something like this.

1 solution

I'd take a looong look at Visual Studio, I've always thought that the output window handles this quite elegantly - and if you really want to you can add an overall progress bar.

Another good option can be borrowed from FileZilla[^]

Notice the multiple progress bars.

Best regards
Espen Harlinn
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900