title: Why can I not set the volume of an AxWindowsMediaPlayer object with a slider?
body: <p>Whenever I try to say the volume of the media player like this: </p>
  
  <pre><code>Private Sub SndMasterSlider_ValueChanged(sender As Object, e As EventArgs) Handles SndMasterSlider.ValueChanged
      Player1.settings.volume = SndMasterSlider.Value
  End Sub
  </code></pre>
  
  <p>I get this error: <code>An exception of type 'System.Windows.Forms.AxHost.InvalidActiveXStateException' occurred in AxInterop.WMPLib.dll but was not handled in user code</code> </p>