Your question makes no sense, which would explain why you haven't been able to find an answer. An OpenFileDialog is a UI for the user to select a source file and a ProgressBar is a UI to display the progress of an operation. How exactly would you measure the progress of the user selecting a file?
Maybe you should try providing a FULL and CLEAR explanation of what you actually want to do. I suspect that what you want is to process the file in some way and display the progress of that. If so then the OpenFileDialog is completely irrelevant. The OpenFileDialog simply gives you the path of the file selected. That has absolutely no bearing on how you process the file. The path is just a String and where it came from makes no difference to how you use it. I think you need to put a bit more thought into what you're actually trying to achieve.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.