hi i need some help i have a usb relay which has come with a program and i have the source code. how do i program so that when i click the button for relay 4 which is r4 on i want it to turn on relay 4 for 5 second the turn off relay 4 then turn on relay 5 for 5 seconds then off again i know this is probably easy to do if you understand how to use vb but i know nothing about it any help would be great here is the code i have
Private Sub r4on_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles r4on.Click
r4 = 8
allr = r1 + r2 + r3 + r4 + r5 + r6 + r7 + r8
r4off.BackColor = Color.Gray
r4on.BackColor = Color.Green
End Sub


