B Belgin_Mage Guest Jul 30, 2008 #1 I need a Wait thats simple to use and that acctualy works.. Ive been searching for 1 hour and dont find anything that works
I need a Wait thats simple to use and that acctualy works.. Ive been searching for 1 hour and dont find anything that works
cp an cat Joined Jan 30, 2007 Sythe Gold 0 Messages 3,278 Location [+] Jul 30, 2008 #2 Code: System.Threading.Thread.Sleep(10) 'in milleseconds I think that should work at least, I don't use VB.
Code: System.Threading.Thread.Sleep(10) 'in milleseconds I think that should work at least, I don't use VB.
jdsfighter Forum Addict Joined Jan 21, 2007 Sythe Gold 0 Messages 603 Age 33 Location USA Jul 30, 2008 #3 Thats .Net, cp_ here is VB Code: Public Declare Function timeGetTime Lib "winmm.dll" () As Long Public Sub Wait(TimeOut As Long) Dim TimeNow As Long TimeNow = timeGetTime() Do DoEvents Loop While TimeNow + TimeOut > timeGetTime() End Sub Use Code: wait 100
Thats .Net, cp_ here is VB Code: Public Declare Function timeGetTime Lib "winmm.dll" () As Long Public Sub Wait(TimeOut As Long) Dim TimeNow As Long TimeNow = timeGetTime() Do DoEvents Loop While TimeNow + TimeOut > timeGetTime() End Sub Use Code: wait 100
Covey Creator of EliteSwitch Joined Sep 9, 2005 Sythe Gold 9 Messages 4,510 Age 17 Location Fuckin' BAM! Jul 31, 2008 #4 Belgin_Mage said: Ive been searching for 1 hour and dont find anything that works Click to expand... You're either lieing or incredibly stupid.
Belgin_Mage said: Ive been searching for 1 hour and dont find anything that works Click to expand... You're either lieing or incredibly stupid.
B Belgin_Mage Guest Aug 2, 2008 #5 Covey said: You're either lieing or incredibly stupid. Click to expand... I found alot that worked, but all they did was freeze.. I dont want freeze:laugh:
Covey said: You're either lieing or incredibly stupid. Click to expand... I found alot that worked, but all they did was freeze.. I dont want freeze:laugh: