Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. How disable Sound on VB project.

How disable Sound on VB project.

Scheduled Pinned Locked Moved Visual Basic
question
6 Posts 5 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    :( On my VB project. I have several Buttons to click and some Warning messages may pop up. But the sound comming from the speaker is anoying. Also i use GotFocus() and jump from one textfield to another. Everytime after the keypress the sound comming out from the speaker and distract the user. Is there any way to turn that sound event off? Thank for your advise. David -- modified at 19:49 Wednesday 12th October, 2005

    M S D 3 Replies Last reply
    0
    • L Lost User

      :( On my VB project. I have several Buttons to click and some Warning messages may pop up. But the sound comming from the speaker is anoying. Also i use GotFocus() and jump from one textfield to another. Everytime after the keypress the sound comming out from the speaker and distract the user. Is there any way to turn that sound event off? Thank for your advise. David -- modified at 19:49 Wednesday 12th October, 2005

      M Offline
      M Offline
      maxiachun
      wrote on last edited by
      #2

      i donot really understand what you mean! you mean the sound from mesbox??? I am Entry level person

      I 1 Reply Last reply
      0
      • L Lost User

        :( On my VB project. I have several Buttons to click and some Warning messages may pop up. But the sound comming from the speaker is anoying. Also i use GotFocus() and jump from one textfield to another. Everytime after the keypress the sound comming out from the speaker and distract the user. Is there any way to turn that sound event off? Thank for your advise. David -- modified at 19:49 Wednesday 12th October, 2005

        S Offline
        S Offline
        Steve Pullan
        wrote on last edited by
        #3

        These are system generated events. You can't switch them off for one program or dialog box. If the user is annoyed at the sounds there are two alternatives: 1. go to the Sounds and Audio Devices control panel and alter the settings for the events you don't want to hear, or 2. turn the volume down. ...Steve

        I 1 Reply Last reply
        0
        • S Steve Pullan

          These are system generated events. You can't switch them off for one program or dialog box. If the user is annoyed at the sounds there are two alternatives: 1. go to the Sounds and Audio Devices control panel and alter the settings for the events you don't want to hear, or 2. turn the volume down. ...Steve

          I Offline
          I Offline
          icDavid
          wrote on last edited by
          #4

          Thanks. I like the 1st one. But the thing is for the Warning event you need to hear the sound. Plus the user need to listen the music as well. Thanks for the advise. David

          1 Reply Last reply
          0
          • M maxiachun

            i donot really understand what you mean! you mean the sound from mesbox??? I am Entry level person

            I Offline
            I Offline
            icDavid
            wrote on last edited by
            #5

            The sound from the speakers. like for example you Msgbox "Help", vbCritical David:^)

            1 Reply Last reply
            0
            • L Lost User

              :( On my VB project. I have several Buttons to click and some Warning messages may pop up. But the sound comming from the speaker is anoying. Also i use GotFocus() and jump from one textfield to another. Everytime after the keypress the sound comming out from the speaker and distract the user. Is there any way to turn that sound event off? Thank for your advise. David -- modified at 19:49 Wednesday 12th October, 2005

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              IcDavid wrote:

              Also i use GotFocus() and jump from one textfield to another. Everytime after the keypress the sound comming out from the speaker and distract the user.

              It sounds like you need to rethink what your doing here. If the system generates a beep for every invalid keystroke, maybe you should be preventing this event from happening at all. I don't profess to understand what your doing or why or what your project is all about. From your description, it sounds like your doing something that goes against Microsoft's recommended UI guidelines. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups