How to show advisory notice 'processing may take several seconds...' for sub of open ended duration.
Posted on 2011-10-25
I have a VBA process in Visio 2010 premium that takes 5-15 seconds. It analyses connected shapes into separate trees and maps all possible paths from start shapes(s) to end shapes(s) for each tree. With time I may be able to make it more efficient, but not quite yet.
Is there a way of showing an advisory notice saying 'processing may take several seconds, meantime prepare for the next steps..." instead of the MS 2010 'turning cicle' icon that does duty for the old MS 'egg-timer'?
I've seen stuff on progress bars on google, but I dont know how long the processs will take for each set of trees, so its difficult to asign a value for '100%'.
I am aware of the danger of open-ended processing - have done my best to check input data before running. Will also seek to build in a max time limit for sub execution.