AXmediaplayer under Vis2008
-
I have recently updated to Vis 2008 and after converting some of my code that utilizes the axmediaplayer the code no longer works properly. I have an event handler for the AXmediaplayer called wmp: this.wmp.PlayStateChange += new AxWMPLib._WMPOCXEvents_PlayStateChangeEventHandler(this.player_PlayStateChange); Which in the 2005 code triggers this event: private void player_PlayStateChange(object sender, AxWMPLib._WMPOCXEvents_PlayStateChangeEvent e) { MessageBox.Show("PLAY STATE = " + e.newState); // There is more here } When converted to Vis 2008 the event is no longer triggered.
-
I have recently updated to Vis 2008 and after converting some of my code that utilizes the axmediaplayer the code no longer works properly. I have an event handler for the AXmediaplayer called wmp: this.wmp.PlayStateChange += new AxWMPLib._WMPOCXEvents_PlayStateChangeEventHandler(this.player_PlayStateChange); Which in the 2005 code triggers this event: private void player_PlayStateChange(object sender, AxWMPLib._WMPOCXEvents_PlayStateChangeEvent e) { MessageBox.Show("PLAY STATE = " + e.newState); // There is more here } When converted to Vis 2008 the event is no longer triggered.