DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Visual Basic 4 / 5 / 6 (http://www.daniweb.com/forums/forum4.html)
-   -   making of cd player (http://www.daniweb.com/forums/thread34676.html)

selot Oct 30th, 2005 1:43 pm
making of cd player
 
I have got some problems with making a cd player. But I do not know what it is.

the code is as follows:

Private Sub cmdSpill_Click()
mmcSpiller.Command = "play"

End Sub

Private Sub Form_Load()
mmcSpiller.Notify = True

mmcSpiller.Wait = True
mmcSpiller.Shareable = False
mmcSpiller.DeviceType = "cdaudio"


End Sub

Private Sub Form_Unload(Cancel As Integer)
mmcSpiller.Command = "close"

End Sub

Private Sub mmcSpiller_StatusUpdate()
lblnr.Caption = mmcSpiller.Track
lblAntspor.Caption = mmcSpiller.Tracks
lblposisjon.Caption = mmcSpiller.TrackPosition
lblLengde.Caption = mmcSpiller.TrackLength

End Sub


All times are GMT -4. The time now is 1:49 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC