title: Help with wmp.dll (Windows media player) to vb 6
body: <p>I have a serious problem with my VB 6 application. In it, I have a reference to <code>wmp.dll</code> in a Form, the idea it's play media video files, i have a ListView called <code>LV1</code> in which I show the playlist filenames. I wish to know the current index from the current Playlist. </p>
  
  <p>This sub is in charge of detecting the changes:</p>
  
  <pre><code>Private Sub Wmp1_CurrentItemChange(ByVal pdispMedia As Object)
  </code></pre>
  
  <p>I can get the totall count into the playlist with this line:</p>
  
  <pre><code>Val=Wmp1.currentPlaylist.Count
  </code></pre>
  
  <p>How I can obtain the current track (index) in reproduction, if i want coordinate this with my ListView, to select the same track with the same index into the playlist.</p>
  
  <p>Thanks for your help.</p>