In the general toolbar in vb there is a timer, it looks funny enough like a stop watch double click this it will then be added to your project.
now double click the timer this will open up the form code window and set you up inside the timer routine place your code here.
now go inside private sub form_load () vb will have named the timer 'Timer1' so enter the following code.
Timer1.Interval =5000
Timer1.Enable=t rue (Sorry forgot this part)
this will give you a timer that will execute the code inside it once every 5secs
Comment