mich08212 said:
Hey,
I want to create music sound of my choosing when opening my email.
What software do I need to create sound?
If you only want to *play* a soundfile...
Paste the folowing in a new module
'<code start>
Option Compare Database
Option Explicit
Private Declare Function apiPlaySound Lib "Winmm.dll" Alias "sndPlaySoundA" _
(ByVal lpszSoundName As String, ByVal uFlags As Long) As Long
Function csvPlayWave(ByVal FileName As String, ByVal How As Integer) As Integer
csvPlayWave = apiPlaySound(Trim(FileName), How)
'Example: ReturnVal =csvPlayWave("c:\windows\media\tada.wav", 1)
'<code end>
Arno R
End Function