Plsssssssssss help me. i want to retrieve duration of audio file like .wav .dss .mp3 using vb.net code...
i m in midst of project .... unable to complete coz of this.. so anyone pls help me
Jump to PostI am kinda confused on this question.. If you are running the music inside vb.net by a button click for example. You can create a timer that shows the time from when you clicked the button to now.. Or if you are listening to the music from …
I am kinda confused on this question.. If you are running the music inside vb.net by a button click for example. You can create a timer that shows the time from when you clicked the button to now.. Or if you are listening to the music from a windows media player in your vb.net form, you can make a button with the code as:
MsgBox(AxWindowsMediaPlayer1.currentMedia.duration)
Thank u so much dude..its working.:)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.