Hello

I have writen an application that displays to me all the files and sub-directories in a specified directory. Now this can take some time. So I wish to display a progress bar. Now the way I understand the progress bar works you need to set the Minimum and Maximum properties.

The problem which I am having is I do not no how many files I am going to find so do not no how to set the Maximum property.

Does anybody have any ideas please.

Thanks

Daniel