I have a simple WPF form that produces documents for faxing. I have to give a delay between each document that is sent to the Fax Server, I also know the number of documents to be faxed.
I would like to show progress for the total number of documents as each one is sent and also indicate the time delay between each document using Progress Bars. The delay would be 10 seconds.
I'm currently using the sub listed below for the delay, it does not have to be accurate and it is only required to give time for the document to be passed to the Fax server.
Private Sub WaitSeconds(ByVal intSeconds As Integer)
Dim sw As New System.Diagnostics.Stopwatch
Do Until sw.Elapsed.Seconds >= intSeconds
sw = Nothing