[HELP] Command Snippets

Posts 1–6 of 6 · Page 1 of 1
[HELP] Command Snippets
Is there some kind of list of snippets for computer commands?
E.g Eject disk, cooling fan on, screen off?
cooling fan is controlled by the motherboard, but there must be a way...


CD Drive Eject:
Quote Originally Posted by Googel
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

Private Sub cmdOpenCD_Click()
Dim lRet As Long
lRet = mciSendString("set CDAudio door open", returnstring, 127, 0)
End Sub

Private Sub cmdCloseCD_Click()
Dim lRet As Long
lRet = mciSendString("set CDAudio door closed", returnstring, 127, 0)
End Sub
Quote Originally Posted by Golden. View Post
Is there some kind of list of snippets for computer commands?
E.g Eject disk, cooling fan on, screen off?
Yeah, Google has a wonderful collection for those
My snippet app does not work. Arch deleted my db 2-3 times.
Do you need another database? I have already given you like...100, what's one more.
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us