In reviewing the code sample provided, is the "code part" of the function
missing, or does the title of the function do it all? I'm confused. There
is no 'end' to the function call...I'm thinking something is missing. I will
try this code to see if it
does play the wav file. Thanks.
> > I am trying to associate very short audio files with command button "click
> > events". Is there a way to open the Windows Media Player or some other audio
[quoted text clipped - 15 lines]
>
> End Sub
nelsonj - 25 Sep 2006 15:51 GMT
Piet...Sorry, no sound. Is there code that should be inside the fundtion?
Seems to me that there should be. If I were to use the optional integer,
what number should I put in there?
I can get Access to open the WMedia Player and play the sound, but the
player remains open on top of the Access forms (when I use my logic.) I
can't get the player to auto-close when it finishes the sound file. I'd like
for the user to click the command button and as Access switches to the
subsequent form, play the sound without showing the player...or leaving the
palyer wide open when done.
Thanks.
> In reviewing the code sample provided, is the "code part" of the function
> missing, or does the title of the function do it all? I'm confused. There
[quoted text clipped - 21 lines]
> >
> > End Sub
nelsonj - 26 Sep 2006 16:59 GMT
I figured it out. Nice code...thanks to Dev Ashish for his code!! Works
well, without
leaving anything open when done. Thanks again.
> In reviewing the code sample provided, is the "code part" of the function
> missing, or does the title of the function do it all? I'm confused. There
[quoted text clipped - 21 lines]
> >
> > End Sub