Dim I
For I = 1 To 10003 ' 循环 10003 次。
Beep ' 发出一声。
Next I
[此贴子已经被作者于2006-9-16 21:47:20编辑过]
作者: andymark 时间: 2006-9-17 07:45
Private Declare Function Beep Lib "kernel32" (ByVal dwFreq As Long, ByVal dwDuration As Long) As Long
Dim Cnt As Long
For Cnt = 0 To 5000 Step 10