Yahoo Clever wird am 4. Mai 2021 (Eastern Time, Zeitzone US-Ostküste) eingestellt. Ab dem 20. April 2021 (Eastern Time) ist die Website von Yahoo Clever nur noch im reinen Lesemodus verfügbar. Andere Yahoo Produkte oder Dienste oder Ihr Yahoo Account sind von diesen Änderungen nicht betroffen. Auf dieser Hilfeseite finden Sie weitere Informationen zur Einstellung von Yahoo Clever und dazu, wie Sie Ihre Daten herunterladen.
Is there a function in Visual Basic suspends the execution of a program for microseconds?
Any suggestions please
3 Antworten
- vor 1 JahrzehntBeste Antwort
No, the best result you can reach in that context is an interruption of one second. Hopefully, there is online code to adapt yours to milliseconds treatment. The trick consists in using the wait() function, which accepts a time argument, the time the system begins to work again (typically, you'll decide to code : wait(now+ x milliseconds) ). The Time argument is a string.
The "Now" value can be expressed with a milliseconds precision with a function available at :
http://www.freevbcode.com/ShowCode.Asp?ID=1618
Use this function and then code a function that "increment" the string by the delay you want to define.
That's no short work, a wish you a lot a pleasure by doing it!
- MarkGLv 7vor 1 Jahrzehnt
In VB2005 you can use
System.Threading.Thread.Sleep(milliSeconds)
This will put the current thread to sleep in effect halting your program for the number of milliseconds.