I am trying to process files in a folder.
I use a progressbar to show the progress.
i = number of documents found
I noticed that when ToolStripProgressBar1.Step = i / 100 is less then 1 the progressbar doesn't updateCode:ToolStripProgressBar1.Maximum = i ToolStripProgressBar1.Step = i / 100 If ToolStripProgressBar1.Step < 1 Then ToolStripProgressBar1.Step = 1 End If
So I try to make the step = 1 but I don't think that will work.
Anyone good in math?




Reply With Quote
