|
-
Feb 25th, 2025, 08:50 AM
#7
Re: Demo Program I did for a radio engineer
Windows natively supports duration for mp3 and wav since Windows 7 and many other audio types in 10. Just ask Windows:
[VB6, Vista+] A compact function to retrieve any property by name, locally formatted
Duration = GetPropertyDisplayString("C:\path\to\file.mp3", "System.Media.Duration")
Returns it already formatted in hh:mm:ss
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|