>>Alonso,
>>
>>Here is how I handle startup sounds. There are many other possibilities.
>>
>>* Find out if this machine has a sound card.
>>* Return number of devices with WAVE playing capability
>>DECLARE INTEGER WaveOutGetNumDevs IN WinMM
>>
>>IF ( WaveOutGetNumDevs() > 0 )
>> SET BELL TO FULLPATH( "startup.wav" )
>> ?? CHR( 7 )
>>ENDIF
>>
>
>The Set Bell Thing worked, but just after a little windows reboot! :)
>
>James, when i call WaveOutGetNumDevs() in the IF condition, i get this error message:
>
>Cannot find entry point WaveOutGetNumDevs in the DLL.
>
>Is the function name right??
>
>Thanks to all of you, guys!!
>
>Alonso
Make sure the DLL is registered.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California