Hi,
I realise there are many ways of doing this, but I thought that you may find
this useful anyway:)
Shell ("C:\WINDOWS\rundll32.exe C:\WINDOWS\SYSTEM\amovie.ocx,RunDll /play
/close")
The filename of the *.wav or media file needs to be inserted into this
string - I haven't actually got my code
in front of me so I hope you can work this out ok.
Best regards
Trevor Dwyer
Quote:
>Hi,
>I want to use wav sounds to inform the program user on special events. I
>found several examples in the library using "mmsystem.dll" and the
>"sndplaysound" function. Unfortunately this seems not to work with Access
>V7 and WIN95. I have the dll in the \windows\system and root directory and
>always get an "runtime error 48, error loading dll" error.
>Any ideas?
>Thomas
>(remove "++" to reply)