1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Hi I need help with this programming i found

Discussion in 'Visual Basic ( VB )' started by andrewjrmill825, Apr 26, 2012.

  1. andrewjrmill825

    andrewjrmill825 New Member

    Joined:
    Apr 26, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    (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).[COLOR=red]PlayState[/COLOR] = 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
     

Share This Page