none
Duration WMP.OCX RRS feed

  • Question

  • '''' mp ,   (WMP.OCX)
    my code is...this


    dim lnth as double
    mp.url = "c:\Songs\s1.mkv"
    mp.controls.play
    lnth =  mp.Currentmedia.Duration

    every think is ok,playing video file good but problum is  ..  mp.Currentmedia.Duration
    ( show the lenth value but lnth is not receving value -- lnth shows value 0
    when i use command button when click it works . I want autometicaly get value in variable

    Friday, July 22, 2016 10:39 AM

All replies

  • Shashi,

    Sorry but you have posted to a forum that deals exclusively with questions/issues about customizing and programming Microsoft Project, a project management application. You don't mention what application you are using to generate your code but I suggest you find a forum for that application and re-post there.

    John

    Friday, July 22, 2016 2:42 PM