Private Declare Function GetTickCount Lib "kernel32" () As Long Private Sub Command1_Click() t = GetTickCount …… …… …… MsgBox (GetTickCount - t) / 1000 '换算单位成秒(默认是毫秒) End Sub
Private Declare Function GetTickCount Lib "kernel32" () As Long Private Sub Command1_Click() t = GetTickCount …… …… …… MsgBox (GetTickCount - t) / 1000 '换算单位成秒(默认是毫秒) …… …… …… End Sub