Answer Questions
Prashanthganathe Capturing TAB Key
Ok, I know how to capture Keys, but I can't seem to capture when the TAB key is pressed. I know its a special case, but I can't get it. Any ideas Do you have Multiline set to True If you set M ...Show All
Tony128 Capturing the mouse
In c#, I need to capture the mouse so that I know the location the mouse outside the form. Is there a way to capture the mouse so that the mouse events go back to my form, even when the mouse is not over my form Thanx... ...Show All
Abhiram Khune Help needs with SaveFileDialog
Hi MS, I have some doubt in SaveFileDialog Control. Here i am explaining my problm Please try this,, Open word file and give \\\"save as\\\" in that dialog change the \\\"save as Type\\\" as .xml then u will get option to transform the xsl sheets. How can i do it programatically. I tried to use SaveFileDialog and set the filter as .xml but that transform option is not coming. How to enable that option. Please reply me ...Show All
artificer Get the path of the form in another project
Hi All, I had developing a Class Libary Project, and another project call ProjectA is referenced to Class Libary Project, for some purpose, i need to get the path of the form in ProjectA which is calling some function in my Class Libary project. how can i to do it Thank you very much. Laputa Get the type of the form, and then get the assembly from the type, finally the Location property of the Assembly will tell you the " ...Show All
EricHurl DataGridViewButtonCell Change Backcolor
If Visual Styles are enabled, can this be done If so how Thanks Simmy How would I do that The buttonrenderer doesn't have a way to set the backcolor. Any sample appreicated! did u tried what i mentioned , (DefaultCellStyle propert of DataGridViewButtonColumn, and set the SelectionBackColor ) i think it will change the backcolor of your buttons not the cell. ...Show All
Matthew Franklin Adding a new "blank" record to edit
I have a bunch of controls bound to a dataset. When I bring up existing data and make edits, all is well. But I'm missing the boat completely when it comes to adding a new blank record to be filled in. I try adding a new row,&nb ...Show All
Galactic Jello Windows Forms application closes unexpectedly
Hi, we have a quite large Windows Forms application (one small executable and about 30 assemblies). On several client PCs (Windows XP SP2) the application suddenly disappears (like a crash but without an exception). We register a ThreadExceptionHandler with the application instance to catch otherwise not caught exceptions, which normally works. But in the case of the above issue the application seems to close without calling the Form.OnClo ...Show All
Marga OnBeforeCheckedChanged?
Sadly the method in the subject does not exist. So how do you handle a checkbox before its checked property changes How about the Enter event That might work for the first "BeforeCheckChanged" after that I'm not sure... ...Show All
1gotoguy GDI plus in .net 2.0 advantages
I have a winforms app in .net 1.1 that extensively uses GDI instead of controls on forms, as there is lot of content. Now, we are migrating to VS 2005 on .net 2.0. What are the features of the GDI+ in .net 2.0 that I should look at leveraging How different is it from the GDI of 1.1 DGV isn't an area of deep expertise for me, but it's highly doubtful you could craft a rendering algorithm significantly more eff ...Show All
noslen ADO.net and MS Access Errors
I am trying to update/insert/delete data using ADO.net connection to MS Access tables. I have successfully created a connection to a table and can successfully insert data into the table using the update command. But when i try to amend data& ...Show All
InteXX PropertyGrid Guru needed for Custom Editor Problem.
If my custom drop down editor(which is basically a multiline text box) is removed from view because the user pressed escape, then I need to know so the propertygrid can ignore any changes made. My 'fantasy vb code for the EditValue function&nb ...Show All
Prashant Dhingra VB.NET multiple selections in DataGrid
I have a DataGrid. I'd like the user to be able to select multiple rows in the Grid, then click a Button to indicate they are finished. I'll then do some calculations based on the rows they selected. I know the rows can b ...Show All
pod Student Property Grid - displaying nested properties
Hi ! Consider the following class definitions: Class Student { //members public int m_Age; public string m_Name; //Properties public string Name{ get{return m_Name;}} public string Age{ get{return m_Age;}} } Class School { Stu ...Show All
LennyBaby Can one use an image for the actual control?
Hi. This might be a simple task for the pros but I'm far from that! Anyway, I would like to create controls such as knobs or switches etc. for my user interface. Say I want to duplicate a home stereo face or whatever. &nb ...Show All
Nose External component has thrown an exception
Hi, I'm getting this error really sporadically in my Winforms app. Seems to happen when trying to display a form with a call to .ShowDialog(). It doesn't seem to happen on any particular form, just pops up now & again. I can close the application and restart it, then I can view the form without the error The application is running in a Citrix terminal server environment, the assemblies themselves are running from a network share. Ca ...Show All
