Hi

I'm reading a file sequentially and I want to display a ProgressBar while I do some calculations. For a Progress bar to work, I need to have a known Maximum value. Now while reading the file, what can I use as the Max value for the Progressbar if I don't know how many records there are in my file?

Thanks