(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