Hi...
In my application there are events which when activated take some 'n' time to get executed... Now this 'n' depends on the input data from the user.. If its small then 'n' would be small and vice versa...
Now presently whats happening is that once the event is invoked, things just stop... it seems that the application has entered into a non-responding mode n the moment the event finishes, the control returns back to the user...
Now i need to display something like a progress bar showing the precentage work finished or some interactive message or dialog which asks user to wait...
i tried using Multithreading in which user control returns back and the event is getting executed at back but its not done as properly as its done in case of unix (using & after command)... so it was not that efficient and multi-processing would be the enviornment for doing what i want..
so how do i solve it in which i am unaware of the execution time of the event.. its just independent of the code and depends entirely on the input file..
How do i find out the time to be taken for the progress bar to be shown or rather how to use progress bar kinda thing in such a situation..
Please help me out with it...
Thanking you,
Kapil
Bookmarks