A google search retuned this: how to play mp3 direct from database | Access World Forums (access-programmers.co.uk)
plus a host of YouTube videos.
If this helped, please click the star at the bottom left of this posting and add to my reputation. Many thanks.
Bob Fitzpatrick
Not sure what your end game is with the mp3 but if you just want to tell the user something , a simpler option may be using the speech api.
Mike Wolfe has example code here... https://nolongerset.com/speak/
If this helped, please click the star * at the bottom left and add to my reputation- Thanks
You don't open it, you just set a reference to it by checking the box and clicking ok.
That allows you to use "Early Binding" as colin does in his app your showing.
Mike's version is using "late binding" where you do not need to set the reference but you lose being able to use intellisense with the object.
https://learn.microsoft.com/en-us/do...-late-binding/
If this helped, please click the star * at the bottom left and add to my reputation- Thanks
Thank you, I would like to open 'api.dll', but with which app?
Notepad does not work?
you can open dll files with visual studio, you can load the community version for free
Looking at the screen, you're still installing the program. Once installed you can use file -> open-> file or project
Just what do you expect to do when you open this dll?![]()
Please use # icon on toolbar when posting code snippets.
Cross Posting: https://www.excelguru.ca/content.php?184
Debugging Access: https://www.youtube.com/results?sear...bug+access+vba
Add a Windows Media Player control from the ActiveX list, add to the click event of your textbox this:
Me.WindowsMediaPlayer0.Object.Url = "C:/Path/To/Sound.mp3"
> WindowsMediaPlayer0 is the name of the control, modify as required
> "C:/Path/To/Sound.mp3" is the path to your mp3 file, modify as required
Please click on the ⭐ below if this post helped you.
↓