i am creating a basic cd player and i have created the installation etc and now i want to update it so i deleted everything except the vb forms and the project file. I added four more labels - Track position (time) and a blank label for the time, and a length with a blank label for the length.
The only problem is that when i run my program it shows the numbers in sort of a millionth of a millisecond. i have no idea what to do. i want the time to be in mm:ss for both. heres the code.
Please helpCode:Private Sub Form_Load() MMC.Command = "Open" Label3.Caption = MMC.Track Label4.Caption = MMC.Position Label5.Caption = MMC.Length End Sub Private Sub Form_Unload(Cancel As Integer) MMC.Command = "Close" End Sub Private Sub MMC_StatusUpdate() Label3.Caption = MMC.Track Label4.Caption = MMC.TrackPosition Label5.Caption = MMC.Length End Sub
Here is a screenshot (attached) - Please Help Thanx In Advanced


Reply With Quote