[T]Utoria[L] SleepWelcome! TO make a sleep funtion in your program without declare use: Code: Threading.Thread.Sleep(1000) This will pause the program for 1sec!
Originally Posted by XGelite i dont really like this way...it freezes the entire program. but i cant find a better way to do it. HAHA that´s why it called "sleep". It freeze your program xD
You could use that or you could use this: First declare it at the beginning of the code: Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Then just put sleep(x) anywhere.. x is the amount of miliseconds you want it to sleep.
Originally Posted by Jesus Farted {Mezo} You could use that or you could use this: First declare it at the beginning of the code: Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Then just put sleep(x) anywhere.. x is the amount of miliseconds you want it to sleep. Read my post! I SAID without declare! Copy and past naaab!
Originally Posted by hejsan1 Read my post! I SAID without declare! Copy and past naaab! yeah, why even use the declared way when you can do it this way, takes less space.?