|
#16
|
|||
|
|||
|
May I add something to this?
I have precisely the same problem, no Beep in VB for some very odd reason. It once did in fact function and was similar to Exclamation. But no more. . I think some install may have taken that operation away. Now Beep, as a standalone statement, produces nothing, and all other sounds including API sounds Music etc, are functional. I am just trying to restore the basic Beep itself, as opposed to getting sound from the API. The API works. But I have nothing in Control Panel > Sounds, defined as "Default Beep". Apparently I should have something there called Default Beep? Yet I don't.. I am running XP Pro SP3. Any further thoughts would sure be welcome? -JC
|
|
#17
|
||||
|
||||
|
Normally I have "Mute" checked on my machine. I find computers that make sound rather annoying.
However, I unmuted my machine, and ran this Code:
Private Sub Command1_Click() Beep End Sub
__________________
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section. ![]() Please use [Code]your code goes in here[/Code] tags when posting code. Before posting your question, did you look here? Got a question on Linux? Visit our Linux sister site. Modifications Required For VB6 Apps To Work On Vista ![]() Microsoft MVP 2005/2006/2007/2008/2009 |
|
#18
|
|||
|
|||
|
Hack, I'm not big on noisy computers either.
![]() But I use the Beep statement sometimes when coding, as a debug measure or to indicate a given branch of some sort. Presumably what it is there for. Much like the original problem discussed here, the beep should make a sound, but doesn't, yet everything else to do with sound seems to be fine. . So something is amiss. I just haven't been able to determine what. There were a few statements above about going to control panel in XP and setting what was called "Default Beep" with a sound, any sound, or making sure a sound was in fact assigned to that function. But my system, XP Pro SP3 has no such option in Control Panel. Nothing there is named "Default Beep" or Beep of any kind. . So my question is: Why is that? Is that really a configuration option some people actually do have with XP? And if so, why would it not be present in my system? But I do need my Beep back again for programming purposes, and right now, your little routine there would produce nothing at all. -JC . |
|
#19
|
||||
|
||||
|
Do you have a "Sounds And Audio Devices" icon in your Control Panel?
Is this machine a work machine or a personal home machine?
__________________
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section. ![]() Please use [Code]your code goes in here[/Code] tags when posting code. Before posting your question, did you look here? Got a question on Linux? Visit our Linux sister site. Modifications Required For VB6 Apps To Work On Vista ![]() Microsoft MVP 2005/2006/2007/2008/2009 |
|
#20
|
|||
|
|||
|
Quote:
It has Critical Stop, Asterisk, Windows Start/Stop, and many more, including various application sounds. It is a combination developer machine, all-purpose computing, web design, graphics, sound creation, network, admin, etc. Running XP Pro SP3. -JC , |
|
#21
|
|||
|
|||
|
No Default Beep in VB or in Control Panel
![]() No thoughts about this? -JC - |
|
#22
|
|||
|
|||
|
Actually I have no VB BEEP either.
And I haven't been able to figure out why. But I do use that as an indicator of program flow sometimes. OR that is, I once did.
![]() From Control Panel > Sounds Critical Stop works fine Exclamation works fine The is no place in Control Panel > Sounds, for "Beep", "System Beep" or for "Default Beep". At least not on my XP Pro System. Do others actually have that in Sounds? Not me. Any thoughts? Thanks in advance. I realize this is an old thread though. -JC ![]() ** |
|
#23
|
||||
|
||||
|
Yes, this is an old thread but it still popped up in my mailbox. I never remove the subscriptions!
![]() Unfortunately my XP version is HD and it does have a "Default Beep". Sorry. |
|
#24
|
||||
|
||||
|
In the event that you're unable to resolve this issue with XP_Pro, have you considered using the Beep API in its stead?
|
|
#25
|
|||
|
|||
|
Could be wrong... but the VB beep is geared towards the computers speaker and not sound card. So if computer (as many are without) does not have a speaker then no beep sound as it is not a sound file but a sound created electronically. Or at least I think I remember someone telling me this so many years ago...
Good Luck |
|
#26
|
||||
|
||||
|
You are not mistaken. I discovered this myself just last month when I was unable to hear the Beep API in my laptop earphones. I've been using it for quite some time, so it came as a big surprise. That said, I don't think there's a PC made without an internal speaker, even laptops.
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|