-
November 24th, 2003, 03:32 PM
#1
PlaySound plays the wrong sound
I set up the following registry values:
\HKEY_CURRENT_USER\AppEvents\Schemes\Apps\MyApp\Connect\.current
\HKEY_CURRENT_USER\AppEvents\Schemes\Apps\MyApp\Connect\.default
\HKEY_CURRENT_USER\AppEvents\EventLabels\MyApp\Connect
and use PlaySound("Connect", NULL, SND_ALIAS | SND_APPLICATION | SND_NODEFAULT | SND_ASYNC);
to play the sound when my app connects to the FTP server. If I define a sound using the Control Panel Sound applet, the correct sound is played, but if I don't define a sound for this event, then the WS_FTP Successful Connection sound is played.
I also have an event defined as "Error". The same thing happens, if I have a sound defined, it is played. If no sound is defined, then the WS_FTP error sound is played.
Why is it choosing the WS_FTP sounds?
Thanks in advance,
Hal
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|