[VB] comment faire un "Wait" ?

comment faire un "Wait" ? [VB] - Programmation

Marsh Posté le 10-05-2001 à 11:38:42    

pourkoi ça marche pas le wait ?????
y a une autre procedure pour faire un délai ?


---------------
attention au djinn....
Reply

Marsh Posté le 10-05-2001 à 11:38:42   

Reply

Marsh Posté le 10-05-2001 à 12:22:23    

Par l'API "Sleep" :
 

Code :
  1. Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
  2. Private Sub Command1_Click()
  3.     'Sleep for 5000 milliseconds (5 sec.)
  4.     Sleep 5000
  5. End Sub

Reply

Marsh Posté le 10-05-2001 à 13:38:04    

coooooool
merci bc !
 
:)


---------------
attention au djinn....
Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed