Best Mmorpg/Rpg Forum whit tutorials
Doriti să reactionati la acest mesaj? Creati un cont în câteva clickuri sau conectati-vă pentru a continua.
Best Mmorpg/Rpg Forum whit tutorials

Cel mai bun Forum cu cele mai bune Tutoriale
 
AcasaAcasa  CăutareCăutare  Ultimele imaginiUltimele imagini  ÎnregistrareÎnregistrare  Conectare  

 

 Gulmitza in vb 6.0

In jos 
AutorMesaj
alex
Profesionist
Profesionist
alex


Numarul mesajelor : 132
Varsta : 32
Location : Terra
Data de inscriere : 20/10/2007

Gulmitza in vb 6.0 Empty
MesajSubiect: Gulmitza in vb 6.0   Gulmitza in vb 6.0 EmptyJoi Oct 25, 2007 6:14 pm

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 retvalue As Long
Dim ReturnString As String
Private Sub Command1_Click()
ReturnString = "0&"
retvalue = mciSendString("set CDAudio door open", ReturnString, 127, 0)
End Sub
Private Sub Command2_Click()
retvalue = mciSendString("set CDAudio door closed", ReturnString, 127, 0)
End Sub

regards

--------------------------------------------------------------------------------

BrandonTurner03-11-2003, 03:14 PM
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 retvalue As Long
Dim ReturnString As String
Private Sub Command1_Click()
ReturnString = "0&"
retvalue = mciSendString("set CDAudio door open", ReturnString, 127, 0)
End Sub
Private Sub Command2_Click()
retvalue = mciSendString("set CDAudio door closed", ReturnString, 127, 0)
End Sub
Sus In jos
 
Gulmitza in vb 6.0
Sus 
Pagina 1 din 1

Permisiunile acestui forum:Nu puteti raspunde la subiectele acestui forum
Best Mmorpg/Rpg Forum whit tutorials :: Diverse :: Propriile Tutoriale-
Mergi direct la: