Jump to content

Windows Media Player

- - - - -

  • Please log in to reply
No replies to this topic

#1
AWS

AWS

    Administrator

  • Administrators
  • 54123 posts
  • LocationJoliet, IL U.S.A.

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users