Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Visual Basic ( VB ) (http://www.go4expert.com/forums/visual-basic/)
-   -   Hi I need help with this programming i found (http://www.go4expert.com/forums/hi-i-help-programming-i-t28276/)

andrewjrmill825 27Apr2012 00:56

Hi I need help with this programming i found
 
(the error that shows up when I try to make it to exe is the second sentence line here is the error
(.playstate), and here is the code of the rest that its in

Code:

'Save Icons Pos.
Main.SaveIconPositions
If Media_Player.MPlayer(0).PlayState = mpPlaying Or Media_Player.MPlayer(0).PlayState = mpPaused Then

Code:

'Save Icons Pos.
Main.SaveIconPositions
If Media_Player.MPlayer(0).PlayState = mpPlaying Or Media_Player.MPlayer(0).PlayState = mpPaused Then
Media_Player.MPlayer(0).Stop
Media_Player.MPlayer(0).FileName = ""
Main.MediaBar.Picture = Media_Player.playimg_dead.Picture
Main.MediaBar_Progress.Value = 0
Media_Player.playimg_timer.Enabled = False
End If
If Media_Player.MPlayer(1).PlayState = mpPlaying Or Media_Player.MPlayer(1).PlayState = mpPaused Then
Media_Player.MPlayer(1).Stop
Media_Player.MPlayer(1).FileName = ""
Main.MediaBar.Picture = Media_Player.playimg_dead.Picture
Main.MediaBar_Progress.Value = 0
Media_Player.playimg_timer.Enabled = False
End If

Thanks for your help :D


All times are GMT +5.5. The time now is 02:05.