Answer Questions
Macca How to get DataGridViewComboBoxColumn's selected value for validation?
Hi. I have a bound DataGridView with a DataGridViewComboBoxColumn. I want to validate the value the user selects. I'm working in the grid's CellValidating() event handler. How do I get the newly selected value of the item selected in the combobox In the grid's CellValidating() event handler the DataGridViewCellValidatingEventArgs "e" parameter gives me the previous combobox value which is useless in t ...Show All
DocMoriarty BindingSource.EndEdit() does not throw exception
I've a business object, and it validate value when new value is assigned to its properties, exception will be thrown if value violate validation rules. Business object is bind to UI controls by a BindingSource object, when I input a invalud value in TextBox and call BindingSource.EndEdit() programmically on FormClosing, exception is eaten by somewhere, I do not allow user to close the form if error is detected, Thank you very much! publ ...Show All
Forest regarding datagridviews and tableadapters
I have 2 datagridviews each datagridview should display different records from a table like first datagridview should display records based on field Accounttype='ShortTermLoan' and second datagridview should display records based on field Accounttype='longTermLoan' how can i achieve this can i do this using one tableadapter and one bindingsource pls let me know hi sohail as u ...Show All
GavinLaz Windows Forms, Avalon (XAML) and the future
Hi, Does anyone know if XAML will ever find its way in to Windows forms What I'm trying to establish is whether sometime in the future (before Longhorn though), XAML will be used to define a more traditional Windows forms app. Something like the MyXaml open source project. Regards Graham Hi, Avalon will be released as an addon to Windows xp and windows server 2003. In fact Microsoft has already released a Beta ...Show All
Héctor Auto Complete Combo Box
Does anyone know of some good example source online of how to do this in vb.net Or have a good idea on how to do it I need something with functionality similar to the IE address bar. If possibly I would also like to be&n ...Show All
Mohan Giri Vertical Line like in Installshield wizard
hi, how can i divide the form like in the installshield wizard. Which windows forms control can i use for that. Kind regards carson Hi, If you are talking about the vertical line that come overs the wizard buttons you can do following... Add a groupbox set its text property to empty and height to 3, it will look like the same as install shield line. How ever its not a very good solution but it is. Hope this help. ...Show All
AdamDev MDI Problem
This problem popped up after upgrading to VS2005. My application has a report manager. You can print 1 or more reports at a time. Each report shows up in its own form. One form is used as the MDI Parent of each of the report forms. If I print one report I set the report form to maximized. When this happens, the MDI child form is shown with 2 icons and 2 control boxes, each of which work. If I don't maximize the child form then it works. Is th ...Show All
Bentes16 getting a control to repaint when designing
I've created a menuitem that inherits from the menuitem and adds some more functionality. When I'm designing it, as I set my own new properties in the designer, how do I get the IDE to redraw the control after I've set one of the&nbs ...Show All
Steve Starck ArrayList problem
Hi i am having a bit onf a difficulty understanding this.. I have this code in a form For intCounter = 1 To dropMultiChoice.SelectedItem.Value   ...Show All
G.Lakshmi .NET Remoting and unmanaged client code
Hello, I want to access .NET remoting through VC 6 unmanaged code, is there anyway through SOAP or any other way i can connect to .NET remoting server through an unmanaged MFC or C++ client. Regards Noman I also need help with this problem. Ma ...Show All
dhirajdewani DataGridView bug?
Somtimes I set one of the DataGridView column's visible as false, but it still comes up when I run the program. Anyone has same problem I think I have found an instance where this bug still occurs. My app does not use columns built in the designer. Instead it uses columns generated by a custom class method returning a DataGridViewColumn array and then using the grid's AddRange method. We do this so we can change properties of our grids us ...Show All
Amit Basu ComboBox not displaying last item in bound table
I have a ComboBox that is bound to a DataTable, and I am running into a problem when I add a new row to the bound DataTable. The problem is that the last item added to the DataTable is displaying as a blank entry in the&nbs ...Show All
steve_thomas The .NET Framework Service service failed to start due to the following error
Ok my error log gave me this and I have been experiencing problems when I try to free up space on my hard disk, as in it won't work and will time out: Sunday, May 30, 2004 Service Control Manager The .NET Framework Service service ter ...Show All
Holden Hide form on startup! / Disable the Close Button
How do I hide a form (Visual C++ .NET 2003) when the program is first run The only way I know how, is to create a timer and have it do it immediatly but shows for a split second and people get confused. Also, how do I make it the red X (close button) is disabled for a form Hi, If you don't want to show a form, then you could ommit the function that calls the form. And replace it with the code that you want to ...Show All
Rescue Explorer Instant messenger
Hello everyone I was wondering if it was possible to create a MSN-type instant messenger with .NET and if it is, what tools would I need to create one along side .NET Are there any resources out there on this topic that gives step ...Show All
