Answer Questions
Erick H. ImageList does not load because of missing resource
I have a WinForms application (under development), the application's main form has an image list on it. There are several images in the list. The application used to run fine till one moment when it started throwing an exception at startup: An unhan ...Show All
Saso DesignSurface MemoryLeak
Seems that DesignSurface has a memory leak. This can be observed by running the program bellow and push several times the <ShowDialog> and <CallGC> buttons and observe that the heap memory increase each time <ShowDialog> button is pushed. The leak can be also observed by running the CLR Profiler for Whidbey. Details from CLR Profiler are at the end of the message. CLRProfiler for Whidbey final can be downloaded from http: ...Show All
TheDOG update other form
my application have "FormA" and "FormA". "FormB" is call by "FormA" use .ShowDialog(Me) method, the "FormB" purpose is guide the user to input some data to "FormA". i don't how to pass data back to "FormA", ...Show All
joao.carlos in arrays...
Hi, I'm trying to read a text file, somewhat like this: #15-07-2001 sdkfhksdfhsdc cskjmcdfcsd #13-12-1999 asljkdaksjxd dcjdvf etc... I want to save the dates... so I put up something like this: string line; string date; StreamReader sr = new StreamReader(...); while((line=sr.ReadLine()) != null) { &nbs ...Show All
leonwoo CheckForUpdateAsync not raise event
I have a an application that check the availability of an update with clickonce, I use CheckForUpdateAsync method. Sometime CheckForUpdateCompleted is raised and sometime no, this is not even. I am not able to find the motivation of this irregularity. My code work, so the problem is not any time. Giuseppe Giueseppe could you share your application code. There is no know issue that should cause this to happen. Hi Guys L ...Show All
pws111 Must I use visual studio .net for windows forms programming?
Hello, guys. I am just a beginner and I wonder must I use visul studio .net to learn winforms programming and develop an application Thanks in advance. You should be able to get an Academic version pretty cheaply... Of course, you ca ...Show All
oehp fast question on datagrid properties
in a datagrid i don't want to see the first grey default column, the column of the selection where there is a black arrow how can i do this, want property i have to set or desect thanks a lot RowHeaderVisible is the property. You can also set the the width of the rowheader through RowHeaderWidth property i'm sorry rowheader.... is false... but it's still there.... ...Show All
Greg Leepart DataGridBoolColumn, Value display and Event Capture
With the following Style I had created the two columns in my datagrid 1) DELETE (vlaue boolean) 2) MCWR ID (Numeric) In the database I have only two values in the DELETE column 0 or 1 BUt when I am loading the grid I am getting all& ...Show All
Sami Karaeen Issues with Custom TextBox Control and simple Properties.
Hi all, I have created this Custom Control that will (well, should) allow me to set the BackColor of my ReadOnly TextBox Controls to whatever Color I specify (instead of the standard dull Gray colour). Now I have created a Class and an Interface to do this, and have then added the Compiled .dll into the ToolBox and included the Control on a Windows Form. But, if I set the ReadOnly Property of the Control to True the BackColor of the Control is ...Show All
Liza Data Grid View & Read Only
Data Grid View Any one else having problems setting a single column to ready only dgv.Columns( "myValue" ).ReadOnly.Equals( True ) Or am I missing something here dgv.Columns( "myValue" ).ReadOnly = True Tried that before also but a no go. Any other ideas Note this is a windows form You're just checking if ReadOnly is true. You have to set it: ...Show All
Huzefa modify gridview according to listbox
hi all, i have a gridview that will display all values when the page load. User can filter the data in the gridview by selecting multiple values in a few listboxes. However they do not necessarily need to select a value for each listboxes. how can i create a dynamic selectcommand for multiple non-mandatory selection i can't specify * as the default value as sql syntax does not allow ' in (*) '. please help... thanks! ...Show All
Rob Relyea My latest pet peeve
Erm, just a thought...but PLEASE...*PLEASE* add a .Tag or .Name property to MenuItem ..i'd be in love then :( I agree, this one caused me some pain a while back. I was adding menu items dynamically based on user actions,&n ...Show All
Regulus Unhandled Exception in System.windows.forms.dll
hi all.... i'm programming my graduation project using C#, but i have this problem in windows forms. when i open form using ShowDialog() i get the following error message: An Unahndled Exception Occured In System.windows.forms.dll. Additional information: Object reference not set to an instance of an object. I didn't use in the form any special components just buttons and textboxes. note: when i copied the project t ...Show All
Petr Palas DataGridView SelectedRows
I need to create a function that when multiple rows are selected in a DataGridView (and the function is called), it will change the value of a check box that is located in a cell in the DGV to either True or False (Checked/Not Checked) Does anyone know how to do this This is what I have so far: Private Sub CheckUnCheckSelectedItems() If Me.DataGridView.SelectedRows.Count > 0 _ AndAlso Not Me.DataGridView.Select ...Show All
Kuttappan Text Indexer.....
Hey all, I need the ability to index files and them make them searchable....didn't really want to go into writing this myself and was wondering if anyone knew of any open source/free distributions of such a library, preferable in .NET...... ...Show All
