Program keeps beeping/dinging
Program keeps beeping/dinging
Program keeps beeping/dinging
Program keeps beeping/dinging
Program keeps beeping/dinging
Program keeps beeping/dinging Program keeps beeping/dinging Program keeps beeping/dinging Program keeps beeping/dinging Program keeps beeping/dinging Program keeps beeping/dinging Program keeps beeping/dinging Program keeps beeping/dinging
Program keeps beeping/dinging Program keeps beeping/dinging
Program keeps beeping/dinging
Go Back  Xtreme Visual Basic Talk > > > Program keeps beeping/dinging


Reply
 
Thread Tools Display Modes
  #1  
Old 10-07-2016, 12:09 PM
ch2s ch2s is offline
Contributor
 
Join Date: Mar 2003
Posts: 402
Default Program keeps beeping/dinging


I have a program I made in VB6 years ago and it has always had this problem but I never bothered looking into it.

Often, shortly after opening but sometimes at other times, my program "dings", as in one of the Windows event sounds plays, but no error or anything appears on screen.

How can I figure out why my program keeps dinging and how do I stop it?

Thank you
Reply With Quote
  #2  
Old 10-08-2016, 11:54 AM
ch2s ch2s is offline
Contributor
 
Join Date: Mar 2003
Posts: 402
Default

The program used to just beep once shortly after starting, but since an update I did yesterday it now dings regularly while running. There are no "Beep"'s in the code.

What could possibly be causing my program to beep inexplicably like this? It sounds like maybe the default or exclamation Windows Event sound, as if invisible errors are occurring but other than the sound itself there's no sign of any errors.

The program does have code to play way files though, could this have anything to do with it? The beeps I hear aren't a sound the program should play, the sounds it should play play fine, but there's these mystery beeps every now and then).

Edit: I've confirmed the sound I'm hearing is the one for the "Exclamation" event in the Windows sound settings. What would cause an exclamation sound with no error to go along with it?

Edit 2: In Event viewer I see regular errors that seem like they occur when I hear the ding, and it says the program causing the error is in fact this program I made. There isn't much data, it says the error occurred in USP10.dll with exception code 0xc0000005

Any ideas?

Last edited by ch2s; 10-08-2016 at 12:35 PM.
Reply With Quote
  #3  
Old 10-08-2016, 04:08 PM
ch2s ch2s is offline
Contributor
 
Join Date: Mar 2003
Posts: 402
Default

I found the issue, this is a program that when launched launches a 2nd monitoring program that makes sure the first program is running properly. I had the code to launch this other program in the form activate event, and since the last update causes new windows to open, the form activate would trigger each time the other window closed.

I figured it out when a search for 0xc0000005 said it was related to a problem launching a program.
Reply With Quote
Reply

Tags
error, event, plays, program, windows, beeping/dinging


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Program keeps beeping/dinging
Program keeps beeping/dinging
Program keeps beeping/dinging Program keeps beeping/dinging
Program keeps beeping/dinging
Program keeps beeping/dinging
Program keeps beeping/dinging Program keeps beeping/dinging Program keeps beeping/dinging Program keeps beeping/dinging Program keeps beeping/dinging Program keeps beeping/dinging Program keeps beeping/dinging
Program keeps beeping/dinging
Program keeps beeping/dinging
 
Program keeps beeping/dinging
Program keeps beeping/dinging
 
-->