A mi me da error cuando pongo lo que quiero hacer en este codigo
Timer1.enabled = True
Timer1.interval = 0
Label88.caption = 0
Private Sub Timer1_timer()
Label88.caption = Label88.caption + 1
If label88.caption = 1 then
ACA SE CIERRAN TODAS LAS VENTANAS QUE ESTEN ABIERTAS
end if
If label88.caption = 3 Then
ACA SE EJECUTA EL HL.EXE
end if
If label88.caption = 5 then
ACA SE CIERRA EL HL.EXE
end if
If label88.caption = 7 then
label88.caption = 0
timer1.enabled = False
end if
end sub
para que se ejecute el CS uso la funcion "Shell"
y para cerrar el proceso "hl.exe" usao Killapp "hl.exe" pero no anda