Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

playing mp3 files with WMP ActiveX in a form

793 views
Skip to first unread message

Repent

unread,
Feb 22, 2009, 9:09:07 PM2/22/09
to
I see that there is a activex control for WMP in Access2007. If I add it to
a form, how can I setup a command buttom on the form so that an mp3 song
file, residing inside the DB via an attachment field in a table, could be
played inside that ActiveX WMP control?

chris

Repent

unread,
Feb 22, 2009, 9:24:40 PM2/22/09
to
Also this would be for every record that had an mp3 attachment. While on
that record, pressing hte comman button would play that particular file.

chris


"Repent" <Repe...@hotmail.com> wrote in message
news:%23aPczuV...@TK2MSFTNGP05.phx.gbl...

Arvin Meyer [MVP]

unread,
Feb 23, 2009, 1:35:29 AM2/23/09
to
"Repent" <Repe...@hotmail.com> wrote in message
news:%23aPczuV...@TK2MSFTNGP05.phx.gbl...

If you have wmp registered on you machine, here is an api that *may* work:

http://www.mvps.org/access/api/api0011.htm

If it does, it will free you from any of the negative problems of using
third party controls.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com


Repent

unread,
Feb 23, 2009, 2:28:43 AM2/23/09
to
not sure what to do with that?


"Arvin Meyer [MVP]" <arv...@mvps.invalid> wrote in message
news:eeIAtDYl...@TK2MSFTNGP06.phx.gbl...

Douglas J. Steele

unread,
Feb 23, 2009, 7:59:41 AM2/23/09
to
I showed how to play mp3 files in my November, 2004 "Access Answers" column
in Pinnacle Publication's "Smart Access". You can download the column (and
sample database) for free at
http://www.accessmvp.com/DJSteele/SmartAccess.html

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Repent" <Repe...@hotmail.com> wrote in message
news:%23aPczuV...@TK2MSFTNGP05.phx.gbl...

Douglas J. Steele

unread,
Mar 3, 2009, 1:23:54 AM3/3/09
to
I'm not sure I can explain it any better than I already have in the article.
The sample database includes all the code you need.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

"sebastico" <seba...@discussions.microsoft.com> wrote in message
news:BFCB500E-C4BC-4FC3...@microsoft.com...
>
> Hi
>
> I have been trying your suggestion, nevertheless, I don't know how to
> declare the Function code in the cmd button. If possible, step by step is
> highly appreciated.

sebastico

unread,
Mar 3, 2009, 4:41:01 PM3/3/09
to

Hi

I followed the instruction. However, when I click the "?" button Microsoft
Visual Basis display:
Compile error:
Ambiguos name detected: ahtAddFilterItem

Could help me to fix this error. Just in case I'm working with MS Access 2003.

Thank you very much indeed

Douglas J. Steele

unread,
Mar 3, 2009, 8:51:32 PM3/3/09
to
That error means you have the function ahtAddFilterItem twice in your
application.

While in the VB Editor, use Ctrl-F to find Function ahtAddFilterItem in the
entire database. Assuming they're the same, delete one of them.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

"sebastico" <seba...@discussions.microsoft.com> wrote in message

news:E4B017F3-FBB2-4675...@microsoft.com...

rogerda...@gmail.com

unread,
Feb 4, 2015, 10:59:51 AM2/4/15
to
There is an ActiveX control 'Audio Player ActiveX' This control does work. The only thing is I can't find a place to purchase it. It is shareware and it gives you some time to use it then it will stop working. If either you find the key to this software or a place to purchase it then re-post here.
0 new messages