Answer Questions
Stargate Binding a combo box to a data set
Hi, I am trying to just list some columns in my dataset by binding it to a combo box in windows form application. I can easily do that in a web application. But really doesn't seem to work as a windows form application. Label1 an ...Show All
DLMiller Pin To Desktop
I guys. I have a simple question: in VB .NET how can i tell a form to remain pin to desktop, a sort of always on bottom. In Visual FOXPRO there's a property alwaysonbottom, but in VB.NET i can't figure out how to do... Anyone can help  ...Show All
Ffelagund Multi Window Events - Application Design the Right Way
So, I'm developing an application that involves many multiple windows. There is a "Main Window" Parent and all respective windows are spawned from this one. So my basic problem is of a design nature. I'd like an event that happens in one c ...Show All
QuasiLoca novice: updating my form from custom class.
I am a novice, I admit it... so bare with me, I'm trying to get a handle on working with Visual C++ and the .Net framework, etc. I am using visual studio 2005 if that matters... so here goes. I have a form with a status bar that I want to update. The problem is, I have a class that I wrote in a separate header and source file and I trying to figure out how to get the object I created from that class to update the status bar label. My class is n ...Show All
Brad King controlling color of datagrid cells at run time
Hi, I have a datagrid that is bound to a dataset which contains excel sheet data. I have got 8 columns in my datagrid and all of them except one has strings values, one column has numeric value in it. I want create coloring scheme, such&n ...Show All
CodeKracker resizing of comboBox and TextBox dynamically
Hello, I am looking for a way to resize a textBox or comboBox so it fits that size of the text that I add to it. For example, if I am doing a directory listing and add the path "C:\" the textBox would be just big enough ...Show All
Cameron Black Data Binding
Hi, How should i correct the statements below, so that the ID text box will shows the ID=1 when the arrow of List View point to ID=1 Or is that any other methods to do this IdTextBox.DataBindings.Add("Text", dataset1.Tables["employee"], "ID"); Thanks. No, you misunderstood me. I didn't say put the binding in the SelectedIndexChanged, I said you had to change the BindingContext position in that ...Show All
bala_excel Missing events from inner UserControl
I make my own TextBox that contains a MS-Textbox. If I click in "MyTextBox" these Events doesn't fire: Click, DoubleClick, MouseClick, MouseDoubleClick, MouseUp These are the Codelines for the Click Event. The others looks like this. Public Shadows Event Click As EventHandler Private Sub MyTextBox_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) _ Handles TextBox.Click RaiseEvent Cli ...Show All
r.cicca Multiple monitors
I can get the number of monitors connected to a system by using the SystemInformation.MonitorCount property, but is it possible to force an application to appear on a monitor other than the primary FWIW, I just tried it and it& ...Show All
tabish Visual representation of a list (ala ListBox bottom to top)
Hello all, getting ready to give up trying to figure out how to do what i need on my own so i'm trying my luck in asking here. I have a list of objects that i wish to represent in a visual list like a ListBox, the problem is i need to draw the items from the bottom of the control and upwards. I need the SelectedItem functionality offered by the ListBox (as well as Key-events, mouse-events and collection-changed-type-events) which has had m ...Show All
Yuval Ronen DataGridView: Column error for Binary, VarBinary, LongVarBinary data fields
Hi all, I am doing databinding with DataGridView, but some of my table coulumns have Binary, VarBinary, LongVarBinary attribute. The problem I am having is that the grid is redering these columns as Image columns, and is generating an error when the data are not valid images. I just want these columns to display as byte array, when bound. I do not want to use loop to insert rows, as this would be slow. Can some one tell me how to set this ...Show All
jan_hk Set toolStripStatusLabel1 from a dialog form.
I have an mdi application, the main from has a toolStripStatusLabel control. I have some child forms and some dialog forms. I can set the toolStripStatusLabel from the child by doing this. parent form public void WriteToStatusBar( string Text) { // Make this procedure public so that the child form(s) can call it toolStripStatusLabel1.Text = Text; } child form private void frmTest_FormClosing( obje ...Show All
Josh DataGridView and nulls
I have datagrid view which is bound to a SQL Server table. I created it without any coding simply by dragging a data source. The fields in the underlying table do not allow nulls and have a default value of '' so that if the data is missing the field should contain a zero length string. If I try to create a record using this grid and a field in the grid is left blank an error is generated apparently because ...Show All
Jasmine Lee Deployment: Register Win32 Service during Installation?
Hello Community, my application is installing its own Windows Service (inherits from System.ServiceProcess.Service base) and its also no problem to install it (by using the ServiceInstaller and ServiceProcessInstaller Components). But we also have a 3rd Party driver, which is a win32 executable. It usually comes with its own installer but we need to install this service within our own installer. Can anyone tell me, how i can install a win32 serv ...Show All
JohnHart_MS Providing INotifyPropertyChanged
Before I start coding away like a mad-man, is it feasible to create a sub-classed PropertyDescriptor that raises the PropertyChanged event for objects that do not implement INotifyPropertyChanged If I implement ICustomTypeDescriptor on my item wrapper class I could return these specialized PropertyDescriptors when GetProperties() is called. This new PropertyDescriptor would follow the decorator pattern. It would forward calls to the P ...Show All
