VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Use this program as a shrtcut to open or close your CD ROM. USE F11 to eject f12 to close and f10 t

ojas  (14 Submissions)   Windows API Call/Explanation   VB 6.0   Unknown Difficulty   Thu 1st December 2005   Mon 8th February 2021

Use this program as a shrtcut to open or close your CD ROM. USE F11 to eject f12 to close and f10 to end this program

API Declarations


Public Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
Global Const VK_F11 = &H7A
Global Const VK_F12 = &H7B
Global Const VK_F10 = &H79

GEN. DECLARATIONS(NOT IN MODULE)
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





Rate Use this program as a shrtcut to open or close your CD ROM. USE F11 to eject f12 to close and f10 t (1(1 Vote))
Use this program as a shrtcut to open or close your CD ROM. USE F11 to eject f12 to close and f10 t.bas

Use this program as a shrtcut to open or close your CD ROM. USE F11 to eject f12 to close and f10 t Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters