我的电脑要2分钟计算时间还可以用.net提供的StopWatch
Dim sw As New System.Diagnostics.StopWatchsw.Start…………sw.Stopreturn sw.ElapsedMilliseconds