Click here to Skip to main content
15,900,461 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionVisual Studio Tools for Office version 2003 Pin
ocabrera7011-Dec-06 3:00
ocabrera7011-Dec-06 3:00 
QuestionModifying machine.config Pin
seanwright11-Dec-06 2:56
seanwright11-Dec-06 2:56 
AnswerRe: Modifying machine.config Pin
Pete O'Hanlon11-Dec-06 10:22
mvePete O'Hanlon11-Dec-06 10:22 
AnswerRe: Modifying machine.config Pin
Vasudevan Deepak Kumar12-Dec-06 3:22
Vasudevan Deepak Kumar12-Dec-06 3:22 
Questioncannot find one or more components.please reinstall the application Pin
MissionSuccess10-Dec-06 18:59
MissionSuccess10-Dec-06 18:59 
QuestionRe: System.Security.Cryptography.RSAParameters parameters Pin
edchan10-Dec-06 18:50
edchan10-Dec-06 18:50 
QuestionSMTP Event Sink ForkForRecipients Pin
Andrewiski10-Dec-06 16:18
Andrewiski10-Dec-06 16:18 
Question[C#] Disable a 'beep'. Pin
Manaxter10-Dec-06 14:26
Manaxter10-Dec-06 14:26 
Hi.

My entire application will be receiving keyboard input, but it will be used in an environment where any beeping by the application is bad, as the computer will be connected up to a sound system. Currently, I have my main form with KeyPreview turned on and....
        <br />
private void form_MainWindow_KeyDown(object sender, KeyEventArgs e)<br />
        {<br />
            if (e.KeyCode == Keys.Decimal)<br />
            {<br />
                MessageBox.Show("Decimal was pressed");<br />
                e.Handled = true;<br />
            }<br />
        }<br />


This creates one beep for the message box, but if a ListView control has the focus (which it often will), it creates another beep because none of the objects in it start with a '.'. How can I disable this beep? I assumed that by setting the event to handled, it would not send the event to the control.

Cheers
Jacob.
AnswerRe: [C#] Disable a 'beep'. Pin
Ravi Bhavnani10-Dec-06 14:55
professionalRavi Bhavnani10-Dec-06 14:55 
GeneralRe: [C#] Disable a 'beep'. Pin
Manaxter10-Dec-06 16:38
Manaxter10-Dec-06 16:38 
QuestionAnalysing Software design Pin
RussClarke10-Dec-06 13:20
RussClarke10-Dec-06 13:20 
AnswerRe: Analysing Software design Pin
Ravi Bhavnani10-Dec-06 14:59
professionalRavi Bhavnani10-Dec-06 14:59 
GeneralRe: Analysing Software design Pin
RussClarke10-Dec-06 21:12
RussClarke10-Dec-06 21:12 
AnswerRe: Analysing Software design Pin
Pete O'Hanlon11-Dec-06 0:58
mvePete O'Hanlon11-Dec-06 0:58 
GeneralRe: Analysing Software design Pin
RussClarke11-Dec-06 4:02
RussClarke11-Dec-06 4:02 
GeneralRe: Analysing Software design Pin
Pete O'Hanlon11-Dec-06 4:43
mvePete O'Hanlon11-Dec-06 4:43 
GeneralRe: Analysing Software design Pin
RussClarke12-Dec-06 1:00
RussClarke12-Dec-06 1:00 
QuestionConnection String Pin
Tauseef A8-Dec-06 22:53
Tauseef A8-Dec-06 22:53 
AnswerRe: Connection String Pin
Guffa9-Dec-06 8:02
Guffa9-Dec-06 8:02 
AnswerRe: Connection String Pin
Paul Conrad9-Dec-06 9:53
professionalPaul Conrad9-Dec-06 9:53 
GeneralRe: Connection String Pin
Guffa9-Dec-06 19:05
Guffa9-Dec-06 19:05 
GeneralRe: Connection String Pin
S Douglas9-Dec-06 19:58
professionalS Douglas9-Dec-06 19:58 
Questionimage file Pin
Tauseef A8-Dec-06 18:42
Tauseef A8-Dec-06 18:42 
AnswerRe: image file Pin
Guffa9-Dec-06 8:04
Guffa9-Dec-06 8:04 
QuestionAutocomplete VB.NET Pin
Xequence8-Dec-06 10:23
Xequence8-Dec-06 10:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.