- ©«¤l
- 10
- ¥DÃD
- 5
- ºëµØ
- 0
- ¿n¤À
- 16
- ÂI¦W
- 0
- §@·~¨t²Î
- windows XP
- ³nÅ骩¥»
- SP3
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-7-23
- ³Ì«áµn¿ý
- 2011-7-3
|
VBAµ®Ä
Excel¤§VBAÁnµÄµ¥Ü¨Ï¥Îµ¼ÖÀɵoÁn
¦b«Å§i°Ï«Å§i
Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long
¦bµ{¦¡°Ï®a¤W©I¥sµ¼ÖÀÉ
file1 = "D:\pocketPC\Audio-1.wav" '¶ñn¼½©ñªºµ¼ÖÀÉ
mciSendString "seek " & file1 & " to start", vbNullString, 0, 0
mciSendString "open " & file1, vbNullString, 0, 0
mciSendString "play " & file1, vbNullString, 0, 0
´ú¸ÕOK |
|