View Single Post
Old 12-02-2004, 12:21 PM
jpdiazg jpdiazg is offline
Join Date: Dec 2004
Location: Santiago de Chile
Posts: 1
Unhappy Markercount problems

Hi everybody,

I have this problem and I'm very confuse

I'm trying (with a WMP object called Player) to know how many Markers has a WMV file. I have the following code but always returns 0
There is something that I am forgetting to do?
Thanks a lot

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Player.URL = "C:\a.wmv"
Dim a As Integer
a = Player.currentMedia.markerCount
End Sub
Reply With Quote