- UID
- 26372
注册时间2006-12-3
阅读权限30
最后登录1970-1-1
龙战于野
该用户从未签到
|
有时间会不断的贴出新的内容!
VB程序控制光驱
Option Explicit
Private 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
Dim st As Boolean
Private Sub Command1_Click() '弹出按钮
st = True
Call mciSendString("set cdaudio door open", 0, 0, 0)
End Sub
Private Sub Command2_Click() '退出按钮
End
End Sub
Private Sub Form_Load()
End Sub
给大家附上原程序代码 |
-
-
VB控制光驱.rar
1.53 KB, 下载次数: 3567, 下载积分: 飘云币 -2 枚
VB原代码
|