Re: playing mp3 files with WMP ActiveX in a form



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" <sebastico@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:E4B017F3-FBB2-4675-991F-74911DD59720@xxxxxxxxxxxxxxxx

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" wrote:

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" <sebastico@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BFCB500E-C4BC-4FC3-AF9E-66B61DBBC4A4@xxxxxxxxxxxxxxxx
>
> 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.
> "Douglas J. Steele" wrote:
>
>> 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" <Repent34@xxxxxxxxxxx> wrote in message
>> news:%23aPczuVlJHA.2064@xxxxxxxxxxxxxxxxxxxxxxx
>> >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
>> >
>> >
>> >
>>
>>
>>



.


Loading