Click here to Skip to main content
       

C#

 
QuestionCan some one port this java code to c#? PinmemberDanish Samil25-Dec-12 23:29 
AnswerRepost from Java forum PinmemberProgramFOX26-Dec-12 0:37 
Questionhow to populate wpf datagridcomboboxcolumn with arraylist values, which is not static? PinmemberMember 967842725-Dec-12 2:20 
AnswerRe: how to populate wpf datagridcomboboxcolumn with arraylist values, which is not static? PinmemberEddy Vluggen26-Dec-12 12:11 
Questioncode for speech to text using csharp .net Pinmemberdolly papa24-Dec-12 20:36 
AnswerRe: code for speech to text using csharp .net PinmvpRichard MacCutchan24-Dec-12 23:02 
AnswerRe: code for speech to text using csharp .net PinmemberProgramFOX24-Dec-12 23:13 
QuestionHow to modify a line in the Word file using C# ? Pinmembertaibc24-Dec-12 20:04 
AnswerRe: How to modify a line in the Word file using C# ? PinmvpRichard MacCutchan24-Dec-12 23:04 
GeneralRe: How to modify a line in the Word file using C# ? Pinmembertaibc25-Dec-12 16:40 
GeneralRe: How to modify a line in the Word file using C# ? PinmvpRichard MacCutchan25-Dec-12 21:06 
GeneralRe: How to modify a line in the Word file using C# ? Pinmembertaibc25-Dec-12 22:46 
QuestionProblem with textbox key down and autocomplete PinmemberGrooverFromHolland24-Dec-12 10:34 
AnswerRe: Problem with textbox key down and autocomplete PinmemberGrooverFromHolland27-Dec-12 7: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 6:58 
AnswerRe: How to reference .net DLL present in other folder Pinmemberjschell24-Dec-12 8:00 
GeneralRe: How to reference .net DLL present in other folder PinmemberKASR125-Dec-12 7:11 
GeneralRe: How to reference .net DLL present in other folder Pinmemberjschell25-Dec-12 16:32 
GeneralRe: How to reference .net DLL present in other folder PinmemberKASR126-Dec-12 1:31 
GeneralRe: How to reference .net DLL present in other folder Pinmemberjschell26-Dec-12 7:48 
AnswerRe: How to reference .net DLL present in other folder PinmemberKarthik. A25-Dec-12 5:51 
GeneralRe: How to reference .net DLL present in other folder PinmemberKASR125-Dec-12 7:10 
AnswerRe: How to reference .net DLL present in other folder PinmemberAlan N26-Dec-12 5:12 
GeneralRe: How to reference .net DLL present in other folder PinmemberKASR126-Dec-12 7:41 
GeneralRe: How to reference .net DLL present in other folder PinmemberAlan N26-Dec-12 7:48 
GeneralRe: How to reference .net DLL present in other folder PinmemberKASR12-Jan-13 7:08 
GeneralRe: How to reference .net DLL present in other folder [modified] PinmemberAlan N2-Jan-13 8:51 
GeneralRe: How to reference .net DLL present in other folder PinmemberKASR18-Jan-13 8:00 
QuestionRe: How to reference .net DLL present in other folder PinmemberPIEBALDconsult26-Dec-12 9:13 
AnswerRe: How to reference .net DLL present in other folder PinmemberKASR126-Dec-12 16:25 
QuestionUsage of Google API in windows application Pinmemberukraju24-Dec-12 1:05 
AnswerRe: Usage of Google API in windows application Pinmemberfrazzle-me24-Dec-12 2:25 
AnswerRe: Usage of Google API in windows application PinmemberSajeesh Payolam24-Dec-12 20:28 
QuestionDetecting a 3G connection in Windows 7 and 8 in a desktop application [modified] PinmemberREDSERPENT724-Dec-12 1:04 
AnswerRe: Detecting a 3G connection in Windows 7 and 8 in a desktop application PinmemberMaulikDusara24-Dec-12 20:44 
GeneralRe: Detecting a 3G connection in Windows 7 and 8 in a desktop application PinmemberREDSERPENT729-Dec-12 21:33 
QuestionIpstatus.Success answer twice !! PinmemberAlex1971_rm24-Dec-12 0:15 
QuestionHow do i create an object of partial class in user control Pinmemberswapnil709022-Dec-12 20:27 
AnswerRe: How do i create an object of partial class in user control Pinmembernainakarri22-Dec-12 22:03 
Questionerror i declaring null arrays Pinmembertashee22-Dec-12 5:22 
AnswerRe: error i declaring null arrays PinmvpRichard MacCutchan22-Dec-12 6:40 
GeneralRe: error i declaring null arrays Pinmembertashee22-Dec-12 7:39 
GeneralRe: error i declaring null arrays PinmemberPIEBALDconsult22-Dec-12 8:11 
GeneralRe: error i declaring null arrays Pinmemberharold aptroot24-Dec-12 0:52 
QuestionWorking with data base Pinmembercolumbos1492722-Dec-12 4:26 
AnswerRe: Working with data base PinmemberPIEBALDconsult22-Dec-12 5:07 
GeneralRe: Working with data base PinmemberSledgeHammer0122-Dec-12 9:38 
GeneralRe: Working with data base PinmemberPIEBALDconsult22-Dec-12 12:58 
GeneralRe: Working with data base Pinmemberjschell22-Dec-12 14:05 
GeneralRe: Working with data base PinmemberSimon_Whale23-Dec-12 0: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
Web04 | 2.8.140921.1 | Last Updated 22 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid