Time delay in loop

Hello

I am trying to put a 5 seconds time delay into a loop.

The following code isn't working.

Any ideas, please?

Thank you.

[CUT-DOWN CODE]

Code:
 Public theshowresultstimer As New System.Timers.Timer(5000)

do

Beep()

Me.theshowresultstimer.Start()

Beep()


loop while....