Hello ! why i can't catch event keydown in a form that contain a datagridview. i have use KeyPreview= true in form load. but i still can't get any keydown value after pressing key. please give me some advise
xingselex
Posts
-
how can i catch form event keydown if my form has datagridview control ? -
what is pDllname in this "craxddrt.database.logonserver(pdllname,pservername,pdatabasename,puserid,ppassword)" ? [modified]i import a crystal report dll "CRAXDDRT.dll" . and i want to connect report database to sqlserver using code vb.net . in that dll has a method is logonserver(pDllname,pServer,pDatabase,pUserID,pPassword). and i want to know what is "pDllname" ?
modified on Sunday, July 12, 2009 11:24 PM
-
how can i connect crystal report to sqlserver with vb.net code ?how can i connect crystal report to sql server with vb.net code ? i don know how to make connection for it. can u give me some example of making crystal report connection?
-
what is Using keyword in VB.net ?hello ! can u tell me what is Using keyword in VB.net ? what it do ? and if i want to write a keyword like this in C#, which keyword should i use ?
-
what is event_Dispose of VB.net in C# ?in VB.net Form has an event_Dispose. so does C# has this event ?
-
how to display Form2 by click button in Form1yes Form2 is Login or Logoff form. and Form1 is main form, but Form1 not a type of mdiparent form. mmh do u have other way of this "Application.Exit()" ?
-
how to display Form2 by click button in Form1i some code as bellow. it is mothed is called when click on MenuItem.problem is when i click item and command = "LOGOFF", it work correctly, but why i click a MenuItem and its command = "EXIT" , the visual studio doesn't stop debuging even my form was disappear?:confused: void MenuItemCommand(ExtenderMenu btn ) { switch (btn.Command ) { case "LOGOFF": Form2 f = null; if ( f == null || f.IsDisposed) { f = new Form2(); f.Show(); } this.Hide(); break; case "EXIT": this.Dispose(); break; } }
-
how to display Form2 by click button in Form1what is different between Close() and Dispose() ? please give me some explane .
-
how to display Form2 by click button in Form1why it high like on line if(form2 == null || form2.IsDisposed) and message that "Use of unassigned local variable form2" . what wrong with this ?
-
how to display Form2 by click button in Form1i have 2 form. Form1 and Form2. i want to open Form2 by Clicking a Button in Form1. my code is follow. but my Form2 can appear alot as i click on Button. so i just to open Form2 only one even i click that Button many times . private void button1_Click(object sender, EventArgs e) { form f = new form2(); f.Show(); } :(
-
how to display Form2 by click button in Form1i want to display Form2 when click on button in Form1. but i don want to open Form2 as instand of Form2. so how can write the code ? :-D
-
how to save image into sql server ?my code is ..... Dim fs As FileStream = New FileStream(mImageFilePath.ToString(), FileMode.Open) ..... and i can only read image from ' mImageFilePath.ToString()'. Does C# has other way such read/ stream the image from PictureBox control ? so please tell me some guid line if u know ... thank :confused:
-
how to compile a project to dll file ?in visual studiio how to compile a project to DLL file ? :confused:
-
how to know by coding between two computer ?ok thank for your answer. now i know to solv it :-D
-
how to know by coding between two computer ?is the same brand of harddisk has the same of physical ID ? how about the same brand of CPU ?
-
how to remove all sql server componet ?ok... :zzz: u and him are good .... course of my fault.... :(
-
how to know a file just copy to some path in HDD ? [modified]can u give some link page for about what u said ?
-
Comboboxdoes combo box control can show 2 column in its dropdownlist ?
-
how to know by coding between two computer ?i have two computers,the same brand IBM, same capacity, same speed. and i want to know what is different between it both? is it by check its CPU id or what ? please give me some guid line .....
-
how to remove all sql server componet ?because i have done as what u said so many many times as i can. even i go into registry delete some KEY in LOCAL_Machine, but i can't run it after i reinstall new SQL server 2005. :doh: X|