Answer Questions
Sérgio Brito exe file creation
hi, i want to create a stand alone exe of my windows application. After creating a windows application I simply copied the exe file found in the "bin" directory much to my dismay that the file reqires .net v 1.1 when tried running in ...Show All
Chris Palmer How to add Controls to a DataGrid....
Hi, Is it possible to get a DataGrid cell to display (contain) other Windows controls (say a drop down list). I'm familiar with System.Web.UI.WebControls.DataGrid but not with the SystemWindows.Forms.DataGrid version. Is there an equivalent of a "Template Column" or&nb ...Show All
UdiAms Shortcut in controls other then menuitem
Is it possible I know you can use something like this my&Item (Alt I) But i want to asign functies keys in stead of Alt-letter combinations. Just like as in menuItems Remco Hi, Yes, you can. Try setting the form's KeyPreview property to true and just handle the keypress event of the form... cheers, Paul June A. Domag ok tnx Hi, Ok, so ...Show All
Allen L [C#] Only the visible Rows of my DataGrid
Hi, I have a little question. I have a DataGrid with a DataTable as DataSource for it. Now I do some Row Filtering in my application and at some points I need a DataRow[] Array which contains only the Rows that were actual in my DataGrid. For example: My DataTable shows some customer information from a database. Now I filter all persons who starts with a "s". And after that I need a DataRow Array which elements are only the rows with the pe ...Show All
spike76 Datagridview Combobox AutoSizeMode
Hello, I want to display the content in combobox this I can get by setting AutoSizeMode = DisplayedCell. But I don't want to resize the columns in Grid; if user selects any long text, then column shouldn't not be resized. How can I achieve this Thanks in advance Sudipta set the Propertiy DropDownWidth Problem Solved Thanks set the Resiz ...Show All
Torben Christensen listbox visible items
when i resize my listbox the amount of items that i can display changes. I wrote a small function that returns how many items are visible at any given time. For some reason my function doesnt work all of the time. int get_ListBoxVisibleCount() { //check to see IF items displayed are less than total displayable //divide height of listbox with the height of an ...Show All
Apple An What is the equivalent of VB's AddHandler statement in C#
I'm trying to redo an assignment I had in a visual basic class into C# as a starting point of teaching myself some of the differences in the languages, but I can't find a proper translation for this VB code: AddHandler flashTimer.Tick, AddressOf timerTick The closest I could figure out in C# was this: flashTimer.Tick += new EventHandler(timerTick); But I get an error that reads "No overload for 'timerTick' matches delegate 'Syst ...Show All
snymanr SEHException
I have a SandBar hosted on an MDI Parent form, which contains a ComboBoxItem. On an MDI child form, I have a text box which, on the Validating event, checks the content, and if it doesn't recognise it as valid, the code opens a dialog  ...Show All
Waters162151 DataGridView events master detail
I have 3 nested DataGridViews (Parent, child, grandchild). Which event in the grandchild(most detailed) DataGridView should be used to capture when it's data has changed Since it's bound to the child, which is bound to the Parent, it's data changes when either of these other two grid's change. I've tried the grandchild's DataBindingComplete and SelectionChanged events but these sometimes fire more than once when clicking ...Show All
Trig How to Implement multiple Selection in a List Box
I want to Implement a Multiple selection on a Listbox which should support drag drop! Any Input is appreciated Set the ListBox . SelectionMode property to SelectionMode.MultiExtended or SelectionMode.MultiSimple . ...Show All
Christian W. How to split the column Heading of Datagrid in Two rows
In vb.net The column Heading of one of columns of the Datagrid is Normal Rate of Change As I have 9 columns to this grid I had set the width for this column 110 Then heading is truncating I want to wrap this heading as Normal Rate Of change I have&n ...Show All
Rubens14605 how to display tooltip for infinity time?
hi, I want to know how to display a tooltip forever as long as the mouse still at the control. I only find AutoPopDelay property to set the time but cannot set the time to be infinity. anyone can help thanks in advance You could try just creating your own custom tooltip... Here's an example I wrote that will create a tooltip that persists as long as you keep your mouse over it. using System ...Show All
Kamol Murodov multiple forms
i know everyone is going to jump and say MDI.. but thats not what im looking for. I come from a web applications background so bear with me on this one. what im looking for is something very common in web applications. Click a link and&nbs ...Show All
lucky5793 Using Settings to store complex types
I have successfully navigated the learning curve on using Settings to persist control states and simple data values across program invocations. I would also like to persist a small table (a DataGridView). I tried the straightforward approach of specifying a DataGridView type in the Settings tab of the solution Properties, then I ran the program to enter a few values, exited, and restarted, but my entered values did not reappear. Here are the rel ...Show All
DanielRehn Windows form not closing???
Hi I am trying to close the form by clicking the X but the window is not closing..... The window is closing when I click the exit menu which calls this.close function..... I have a form A where I added form B to the panel. Form B has& ...Show All
