• 19 years ago

    Lo All,

    For some reason I cannot get the duration of a song using mediaplayer. I have the song opened ( text1.text) which is definetly right because it plays, but if I do txtsongtime.text = mediaplayer.duration it doesnt seem to work, although it works in other peoples code. Any Ideas?

    Thanks in advance...


Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.” - Rick Osborne