Click here to Skip to main content
   

C#

 
AnswerRe: code for speech to text using csharp .net PinmemberProgramFOX25-Dec-12 0:13 
QuestionHow to modify a line in the Word file using C# ? Pinmembertaibc24-Dec-12 21:04 
AnswerRe: How to modify a line in the Word file using C# ? PinmvpRichard MacCutchan25-Dec-12 0:04 
GeneralRe: How to modify a line in the Word file using C# ? Pinmembertaibc25-Dec-12 17:40 
GeneralRe: How to modify a line in the Word file using C# ? PinmvpRichard MacCutchan25-Dec-12 22:06 
GeneralRe: How to modify a line in the Word file using C# ? Pinmembertaibc25-Dec-12 23:46 
QuestionProblem with textbox key down and autocomplete PinmemberGrooverFromHolland24-Dec-12 11:34 
AnswerRe: Problem with textbox key down and autocomplete PinmemberGrooverFromHolland27-Dec-12 8:56 
Hi all,
Found a solution myself after long google search.

It works but can someone explain how?
here is my new code:

        [System.Runtime.InteropServices.DllImport("user32.dll")]
        private static extern short GetKeyState(Keys key);
 
        private void opdrverwTextbox_KeyDown(object sender, KeyEventArgs e)
        {
           
        if (e.KeyData == (Keys.Enter) && !string.IsNullOrEmpty(opdrverwTextbox.Text)&&             
           GetKeyState(Keys.Enter) < 0)
            {                
                e.Handled = true;
                a lot of other code........;               
            }               
                opdrverwTextbox.Clear();
                opdrverwTextbox.Visible = false;
                opdrverwLabel.Visible = false;
                dataGridView_Update();
         }           
        

Groover,
0200 A9 23
0202 8D 01 80
0205 00

QuestionHow to reference .net DLL present in other folder PinmemberKASR124-Dec-12 7:58 
AnswerRe: How to reference .net DLL present in other folder Pinmemberjschell24-Dec-12 9:00 
GeneralRe: How to reference .net DLL present in other folder PinmemberKASR125-Dec-12 8:11 
GeneralRe: How to reference .net DLL present in other folder Pinmemberjschell25-Dec-12 17:32 
GeneralRe: How to reference .net DLL present in other folder PinmemberKASR126-Dec-12 2:31 
GeneralRe: How to reference .net DLL present in other folder Pinmemberjschell26-Dec-12 8:48 
AnswerRe: How to reference .net DLL present in other folder PinmemberKarthik. A25-Dec-12 6:51 
GeneralRe: How to reference .net DLL present in other folder PinmemberKASR125-Dec-12 8:10 
AnswerRe: How to reference .net DLL present in other folder PinmemberAlan N26-Dec-12 6:12 
GeneralRe: How to reference .net DLL present in other folder PinmemberKASR126-Dec-12 8:41 
GeneralRe: How to reference .net DLL present in other folder PinmemberAlan N26-Dec-12 8:48 
GeneralRe: How to reference .net DLL present in other folder PinmemberKASR12-Jan-13 8:08 
GeneralRe: How to reference .net DLL present in other folder [modified] PinmemberAlan N2-Jan-13 9:51 
GeneralRe: How to reference .net DLL present in other folder PinmemberKASR18-Jan-13 9:00 
QuestionRe: How to reference .net DLL present in other folder PinmemberPIEBALDconsult26-Dec-12 10:13 
AnswerRe: How to reference .net DLL present in other folder PinmemberKASR126-Dec-12 17:25 
QuestionUsage of Google API in windows application Pinmemberukraju24-Dec-12 2:05 

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

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


Advertise | Privacy | Mobile
Web01 | 2.8.150414.1 | Last Updated 21 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid