Link to home
Start Free TrialLog in
Avatar of ahammar
ahammarFlag for United States of America

asked on

Why does beep not work

When I enter a beep command, nothing happens.  No sound at all.
All the other windows sounds work fine, but when I enter the beep command in my app, it makes no sound.

Can anybody tell me what I'm missing?

Cheers!
ahammar
ASKER CERTIFIED SOLUTION
Avatar of [ fanpages ]
[ fanpages ]

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ahammar

ASKER

Ok, that was the problem.  It works now.  There was no default sound assigned.  I never unassigned it, so XP must be default without it.  Strange.  I guess I better use some type of play command or api or something in case another user has the same problem.

Anyway...Thank you!

Cheers!
ahammar
Avatar of [ fanpages ]
[ fanpages ]

You're very welcome.

You could, of course, determine if a sound file had been defined (by reading the system registry) &/or the actual file can be found in the specified location, and if either conditions are not met, then look for the first ".wav" file & assign it, or use a different approach as you suggested above.

Good luck.

BFN,

fp.