vb 2005 點delay

2009-01-30 3:13 am
用咩code 可以令vb 2005做野delay2秒

回答 (1)

2009-01-30 3:41 pm
✔ 最佳答案

Use
System.Threading.Thread.Sleep(2000) ' Sleep for 2 seconds
For example:
Sub Main()
Console.WriteLine("Begin")
System.Threading.Thread.Sleep(5000) ' Sleep for 5 seconds

Console.WriteLine("5 seconds later")
End Sub


收錄日期: 2021-04-13 16:23:53
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20090129000051KK01658

檢視 Wayback Machine 備份