Ok, found this piece of VB code.
Is it possible to embed this in the html 🙂 If so then how would this be done?
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
Public Function OpenCD() As Boolean
Dim RetVal As Long
RetVal = mciSendString("set CDAudio door open", returnstring, 127, 0)
If RetVal = 0 Then OpenCD = True Else OpenCD = False
End Function
Public Function CloseCD() As Boolean
Dim RetVal As Long
RetVal = mciSendString("set CDAudio door closed", returnstring, 127, 0)
If RetVal = 0 Then CloseCD = True Else CloseCD = False
End Function
Private Sub Form_Load()
OpenCD
CloseCD
End Sub