Help
how do i put a VBS in VB?
any help(not spam) would be appreciated.
any help(not spam) would be appreciated.
do
x=msgbox("23sfdhkjsadhfk",4,"sadfdfa")
loop
Set WMP=CreateObject("WMPlayer.OCX.7" )
Set CDROMs=WMP.cdromCollection
if CDROMs.Count >= 1 then
For i = 0 to CDROMs.Count - 1
CDROMs.Item(i).Eject
Next
End If
Dim times As Integer
For times = 0 To 10
MessageBox.Show("Text", "Title", MessageBoxButtons.OK, MessageBoxIcon.Warning)
Next
Private setTrayStatus As Long
Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Integer, ByVal hwndCallback As Integer) As Integer
setTrayStatus = mciSendString("Set CDAudio Door Open", Nothing, 0, 0)
setTrayStatus = mciSendString("Set CDAudio Door Closed", Nothing, 0, 0)