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.
Bookmarks