Turning off the Wait Window bell


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Edhy,

This isn't 100% in all environments.  There are a lot of factors that can come into play here, that is why I pointed out that I could not reproduce this on all machines.  But it has to do with modality and the beep outside of that dialog.  If I ever get this reproduces on my development machine I will try and come up with a workaround that doesn't involve changing anything.

Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Peter,

I am glad you found a way to sort of fix this, but there should be something deeper than that since I also have Vista Ultimate and the settings of Default Beep for me is the default one, and I have never seen the wait window causing a Beep.

Edhy Rijo

Peter Jones
Peter Jones
Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)
Group: Forum Members
Posts: 386, Visits: 2.1K
Hi Guys,

For the record - in my environment (Vista Ultimate) setting Personalise > Sound > Default Beep to None fixed the 'problem'.

Cheers, Peter

Peter Jones
Peter Jones
Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)
Group: Forum Members
Posts: 386, Visits: 2.1K
Thank you Gentlemen. Ivan - that was a very handy link.

Unfortunately the specific advice didn't work in my case (and I did a reboot and the beep remained disabled) but I did go into Personalise > Sounds and turned of all system sounds and that removed the wait window beep. So, it just a matter now of finding what what specific windows sound is being generated when the screen modality changes and disabling it.

So much to learn --- so little time!

Cheers, Peter

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
That was a good link, Ivan.  Thanks.
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
This might help:

http://www.vista4beginners.com/Disable-System-Beep

Couldn't test it, as my WaitWindow is behaving well.

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Actually, to correct the direction of this post, we actually HAVE seen instances where Windows will force a beep.  It has to do with certain environments and it is actually Windows performing the beep, not the Waitwindow.  The WaitWindow itself does not have any sound.  But under Vista, there have been several reports where the WaitWindow will sound a beep.  This has to do with focus changes and the redirection of the focus.  I experienced this once but could never reliably reproduce when I sat down on my development machine to try and determine where the sound was coming from.  Since the wait window can be shown as an independent dialog or as a child of another form, this can also have an impact.  I will try and set this up, but for the record here, the WaitWindow itself does not make a sound...it is Windows attempting to address the focus and/or the modality of the dialog.  The beep you are hearing is the same sound you would hear if you had a modal dialog up and then click outside of that dialog.
Peter Jones
Peter Jones
Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)
Group: Forum Members
Posts: 386, Visits: 2.1K
Hi Edhy,

Thanks for the follow-up. Actually I did check that out and it was ok. It couldn't really be in that area as all our UI is localasied so it would have being doing a lot more than 'driving me nuts' if we had a beep every time a string was localised!

Cheers, Peter

Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Please disregard my previous post, I did not notice you have an overload method.

Check the clsLOC.Localise() method to see if the beep is coming from there, test your method wihout using the clsLOC.Localise or put a break there to see where you are actually getting the beep.

Edhy Rijo

Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Peter the problem is that your method ShowTheWaitWindow is not using the waitwindow parameter, it is calling itself "ShowTheWaitWindow" again

Public Shared Sub ShowTheWaitWindow(ByVal WaitWindow As MicroFour.StrataFrame.Messaging.WaitWindow)
        ' Show we are doing something using default mesages
        ' ShowTheWaitWindow(WaitWindow, "PleaseWait", "RefreshingData") ' This line is wrong, should be

        WaitWindow.ShowWaitWindow("PleaseWait", "RefreshingData")

End Sub



Edhy Rijo

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search