Answer Questions
Anjana Mazumder MSFT Mixing bound and unbound columns
My DataGridView has a mix of bound and unbound columns. I'd like the unbound columns to be calculated from the bound columns (like an Excel formula). What's the best event to handle for this Right now, I've got it working by handling Ce ...Show All
skt Draw translucent rectangle over top of child controls
Hi, I'm drawing a translucent rectangle in the paint event handler for my form, but I want it to draw over the top of any and all child controls on the form. Currently, the rectangle is rendered 'underneath' the child controls instead. I tried ...Show All
Load Image in Menu Bar
Hi, I'm trying to create a menu bar for our application to display a busy icon, Internet Explorer globe style. The closest I can come seems to be creating a menu bar using flat buttons on a toolbar, setting the dock to none, and then addin ...Show All
AR SOFT Informatica regarding merging of child menubar with parent in MDI having same menu item
i have a MDI container in parent menubar i have a "&FILE" And "&Windows" And "&Help" menu and in child i have same "&FILE" and "&Windows" menu haveing different content.when the child merg with parent ther ane two "&File"as well as two "&Windows" menubar but i want one "&File" And "&Windows" and the content of two menu sh ...Show All
VinodG Do we still need to implement designerhost with the arrival of designsurface
Just wondering what's the case to use the designsurface or implement designerhost by ourseleves. Alan ...Show All
makis2 VB.net window controls for databinding
I have an application in vb.net window environment for insert, update record to access database. the more window controls I put in the less record I can input (200 -75 - 20). Now running for 20 records it's hanged because of System ...Show All
Paul Wheeler i need this embedded code in vb 2005 instead of c#
this code was to handle the selctedindexchanged for the datagridviewcomboboxcell private void dataGridView1_EditingControlShowing( object sender, DataGridViewEditingControlShowingEventArgs e) { ComboBox cb = e.Control as ComboBox ; if (cb != null ) { // first remove event handler to keep from attaching multiple: cb.SelectedIndexChanged -= new EventHandler ...Show All
GAHarlan BindingNavigatorDeleteItem problem
BindingNavigatorDeleteItem problem I have a windows form in which is shown a single row from the concepts table Private Sub frmEC_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO: This line of code loads data into the 'DsHasbara.Concepts' table. You can move, or remove it, as needed. 'Me.ConceptsTableAdapter.Fill(Me.DsHasbara.Concepts) Me.ConceptsTableAdapter.FillByID(Me.DsHasbara.Concepts, ...Show All
Matt Turk DataGridView DefaultValuesNeeded
I used the Default Event to automatically set Date and Time in my DataGridView However, the cell for the time is recording: 04/10/2006 1:50 PM instead of just1:50PM private void DgvCalls_Default(object sender, System.Windows.Forms.DataGridViewRowEventArgs e) { e.Row.Cells[0].Value=DateTime.Now.ToShortDateString(); e.Row.Cells[1].Value = DateTime.Now.ToShortTimeString(); } any ideas thanks, I used: Da ...Show All
vbnetcoder Setup Error - Failed to load resources from resource file.
I am getting following error at random places in my application. "Setup error - Failed to load resources from resource file. Please check your Setup" Application closes if I click on OK button on the message box. Also, it does not happen on development machine, it only happens on client PCs. The client PCs has .NET Framework 1.1 Please help me. If you have a solution or recommendation then please reply. Regards, bmgohil ...Show All
sai120042 CheckBoxColumn Problem
Hi, I'm using Visual Studio 2005, with C#. I have a datagridview with a modified checkboxcolumn, I have a class that inherits from Checkboxcolumn, and add a textfield to it. My problem is that when the user selects the checkbox the datagridview automatically adds one new row to the DataGridView. Any ideas of what might be wrong Thanks in advance for your help. Regards Luis Filipe de Sousa Ca ...Show All
techbuild Problem with Databound DataGrid on a MDI Child form
Hello all, I have this problem with a databound datagrid in a MDI child form. When bounding an empty datatable ( filled by a query which doesn't contain any results) to the datagrid, I actually see 2 rows in the MDI child form. 1 of these rows is an empty row and 1 is a new row. (see code below) But the datagrid should only display 1 row (the new row), because the datatable doesn't contain any rows (results). Before bounding the datable ...Show All
nymnyi using .Net to create a 'drive letter'
I need my app to create a virtual 'drive letter' in the user's My Computer window. I have seen other apps that do this, but I have seen no source code of any sort for this. Would anyone know where to start with this Thanks, Psi ...Show All
mickyoun data binding to a photo with sql server 2000 in c#
hi all, the question as above anyone can solve the problem Normally, you'd do this through the designer and you wouldn't have to write any code however, assuming you have a populated DataSet it would look something like this: this.pictureBox1.DataBindings.Add("Image", myDataSet, "ImageColumn", true); Joe My question is similar but I seem to be missing some puzzle pieces. In MS Acce ...Show All
dpighin82 Cell formatting in DataGridView
Hi everybody, I'm having problem formatting DataGridViewCell. I bind the DataGridView to DataTable. The requirement is simple: in read-mode i need to divide the value from one of the column in data table by 12. In edit mode, when the changes are commited to the data table, i need to multiply it by 12. I tried using CellFormating event, but it seems to work only 1 way. Suppose the data in DataTable is "12", but when displaying the da ...Show All
