Trying to setup some basic functions for the windows media player in a VB form. Its telling me playstate is readonly. anyway to change this?
Private Sub AxWindowsMediaPlayer1_PlayStateChange(ByVal sender As Object, ByVal e As AxWMPLib._WMPOCXEvents_PlayStateChangeEvent) Handles AxWindowsMediaPlayer1.PlayStateChange If Global_Variables.GameMusic = False Then AxWindowsMediaPlayer1.playState = WMPLib.WMPPlayState.wmppsStopped End If End Sub
View the full article




Sign In
Create Account
Back to top







