the progressbar starts to load until and stops only when process.HasExited
Process object doesn't raise any events except Exited. So there's no way to know what the process is doing. What sort of process you're dealing with?
Teme64
Veteran Poster
1,031 posts since Aug 2008
Reputation Points: 218
Solved Threads: 203
there is a process to be done(convert video formats to mp3)
Is this a process/application you have made? If it is, then you do know the length of the video and at what stage the process is grabbing the audio track. That's the information you could pass "outside" your process.
Teme64
Veteran Poster
1,031 posts since Aug 2008
Reputation Points: 218
Solved Threads: 203
the process is not that long as the length of the video
I put it slightly wrong. When you process the original file, you do know thelength of the file and the position in the file you're processing. This is the information to pass out. Or to make it simple, pass out the percent (0-100) of the file processed.
HTH
Teme64
Veteran Poster
1,031 posts since Aug 2008
Reputation Points: 218
Solved Threads: 203