Jfp87
02-07-2015, 01:13 AM
Hi guys,
Looking for a bit of help regarding a cosmetic aspect of my code - a progress bar. I have read some of the stuff out there on progress bars, but from what I can see, it's not always straight-forward depending on how your code operates.
My code will be processing on average 10 documents, each filled with a varying number of CC's & bookmarks. My initial thought was that I could create an array which holds information about the number of CC's & bookmarks within each document, and then when the code runs, it can calculate the number of CC's & bookmarks in advance using the array. The progress bar can be incrementally advanced based on the number of CC's & bookmarks populated. To me, this seems like it would dynamically create the progress bar based on the specific documents which are being processed.
Any ideas on how to implement this, better ideas or am I completely wrong?
Thanks,
Joe
Looking for a bit of help regarding a cosmetic aspect of my code - a progress bar. I have read some of the stuff out there on progress bars, but from what I can see, it's not always straight-forward depending on how your code operates.
My code will be processing on average 10 documents, each filled with a varying number of CC's & bookmarks. My initial thought was that I could create an array which holds information about the number of CC's & bookmarks within each document, and then when the code runs, it can calculate the number of CC's & bookmarks in advance using the array. The progress bar can be incrementally advanced based on the number of CC's & bookmarks populated. To me, this seems like it would dynamically create the progress bar based on the specific documents which are being processed.
Any ideas on how to implement this, better ideas or am I completely wrong?
Thanks,
Joe