Top DevX Stories
Creating Custom Export Filters for StarOffice with XSLT
WPF Wonders: Using DataTemplates
Crystal Reports Family Offers Options for Developers
Avaya Aura Session Manager video
Avaya Aura Overview video
Search the forums:

Go Back   DevX.com Forums > DevX Developer Forums > VB Classic

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #16  
Old 03-10-2009, 01:36 AM
JiminyC JiminyC is offline
Registered User
 
Join Date: Mar 2009
Posts: 5
Exclamation No Beep and no Default Beep definition in CP..

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
Reply With Quote
  #17  
Old 03-10-2009, 08:54 AM
Hack's Avatar
Hack Hack is offline
Super Moderator
 
Join Date: Apr 2007
Location: Sterling Heights, Michigan
Posts: 7,719
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
It worked just fine so I guess I'm not understanding what the issue is.
__________________
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
Reply With Quote
  #18  
Old 03-10-2009, 10:27 PM
JiminyC JiminyC is offline
Registered User
 
Join Date: Mar 2009
Posts: 5
Question No Beep from VB Code..

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

.
Reply With Quote
  #19  
Old 03-11-2009, 03:10 PM
Hack's Avatar
Hack Hack is offline
Super Moderator
 
Join Date: Apr 2007
Location: Sterling Heights, Michigan
Posts: 7,719
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
Reply With Quote
  #20  
Old 03-12-2009, 06:00 PM
JiminyC JiminyC is offline
Registered User
 
Join Date: Mar 2009
Posts: 5
Smile No Beep Sound and No Default Config

Quote:
Originally Posted by Hack View Post
Do you have a "Sounds And Audio Devices" icon in your Control Panel?

Is this machine a work machine or a personal home machine?
Yes I do.. But no options therein, for "Default Beep", "Beep" or anything similar.
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

,
Reply With Quote
  #21  
Old 03-17-2009, 09:18 PM
JiminyC JiminyC is offline
Registered User
 
Join Date: Mar 2009
Posts: 5
No Default Beep in VB or in Control Panel



No thoughts about this?

-JC

-
Reply With Quote
  #22  
Old 10-18-2009, 02:45 PM
JiminyC JiminyC is offline
Registered User
 
Join Date: Mar 2009
Posts: 5
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

**
Reply With Quote
  #23  
Old 10-18-2009, 03:05 PM
CDRIVE's Avatar
CDRIVE CDRIVE is offline
Registered User
 
Join Date: Jan 2008
Posts: 73
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.
Reply With Quote
  #24  
Old 10-18-2009, 03:14 PM
CDRIVE's Avatar
CDRIVE CDRIVE is offline
Registered User
 
Join Date: Jan 2008
Posts: 73
In the event that you're unable to resolve this issue with XP_Pro, have you considered using the Beep API in its stead?
Reply With Quote
  #25  
Old 10-19-2009, 03:08 AM
vb5prgrmr vb5prgrmr is offline
Registered User
 
Join Date: Jun 2009
Posts: 46
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
Reply With Quote
  #26  
Old 10-19-2009, 10:57 AM
CDRIVE's Avatar
CDRIVE CDRIVE is offline
Registered User
 
Join Date: Jan 2008
Posts: 73
Quote:
Originally Posted by vb5prgrmr View Post
Could be wrong... but the VB beep is geared towards the computers speaker and not sound card.
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.
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 08:26 AM.


Sponsored Links



Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.