Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet windows forms > march 2006 > threads for thursday march 2

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

arraylists or class?
Posted by PhatTim at 3/2/2006 8:21:49 PM
Hi, just a general question: my coworker and I have a question regarding the most efficient way to track a bunch of data in our windows form application. We have six arraylists declared in the base class and copies of each set in all the usercontrols that we have on the form. The original six ar...more >>


DataGrid Exception clears data in changed row.
Posted by Henrik Skak Pedersen at 3/2/2006 3:31:46 PM
I have a problem in the Windows DataGridView control. I the user either add a row or changes an existing row and the leaves the row. If an exception occours because of for example an data constraint an 'DataGridView Default Error Dialog' occours which is fine. The problem is that it resets ...more >>

staying within a function, while giving focus back to the form.
Posted by klumsy NO[at]SPAM xtra.co.nz at 3/2/2006 2:00:52 PM
this may be a little difficult for me to explain the first time round, but here goes. i have a form. and a method like public void doyourprocessing { .... } well normally if you say have a button and call doyourprocessing, it will run the function, then end, giving focus back to the fo...more >>

Application wide color and font settings?
Posted by Steve at 3/2/2006 12:02:55 PM
I am finding that I'm adjusting the colors and font sizes on all my controls to achieve the look that I want. Without getting into the topic of whether or not this is a good idea, is there a way to change the default colors for all controls at the application level? (IE: I drag a label contr...more >>

Visual Studio - Debug Error Form
Posted by Brian P. Hammer at 3/2/2006 11:36:40 AM
I am looking to see if someone has created that form that pops up in VS when you hit an error during debug. The one with the error info, the connector line to the line causing the error and can be dragged around.Anyone know where I can find info on recreating this? Thanks, Brian ...more >>

Create/Write to an Excel File in a C# Windows Application
Posted by PK9 at 3/2/2006 10:20:27 AM
I'm looking for the steps or code examples of how to create an excel file (and write to it) from a C# Windows application. This seems simple, but I haven't found anything useful yet. Any information is greatly appreciated. Thanks, Paul -- PK9...more >>

Disposing controls
Posted by jnospamster NO[at]SPAM gmail.com at 3/2/2006 8:50:11 AM
I guess I'm not exactly sure when or how to dispose controls when I dynamically add/remove controls. Let's say I have a user control, and whenever a certain button is pressed, I delete all the controls on the user control and add a bunch of new controls to it. Do I really need to Dispose all ...more >>

What is up with the TreeView ?
Posted by Philip at 3/2/2006 7:45:26 AM
Is there really no way of binding the treeview to a datasource like an XML Document? Surely, given that XML is hierarchical and the Tree View control is hierarchical I would expect Microsoft to have extended it for us, instead of us having to loop through a huge XML document adding nodes on...more >>



Visualizing multi-dimentional arrays
Posted by rsine at 3/2/2006 6:16:09 AM
I am looking for a place that shows, visually, how multidimensional arrays work. A google search gave me a lot of code examples but I would like to have an actual image to solidify the concept. -Thanks ...more >>

Passing dataset between two web forms...
Posted by vvyshak NO[at]SPAM gmail.com at 3/2/2006 1:42:25 AM
Hi all... I wan to pass a dataset from one web form to another. i had tried with the session object but it didn't worked out....am workin on asp.net 2.0 & c# Please help... I thing its a serious problem in ADO.net and asp.net... Waiting for your response... Than u... ...more >>

Zero-sized form
Posted by Mike Scott at 3/2/2006 12:00:00 AM
I'm using the Microsoft MapPoint ActiveX for routing and don't need a GUI. Unfortunately, the developers of MapPoint didn't see fit to partition the logic from the GUI, so I have to use the MapPoint ActiveX control for routing, and it throws exceptions if it's not hosted in a visible form. ...more >>

How to create a top level control?
Posted by Mike Scott at 3/2/2006 12:00:00 AM
I'd like to create a control that's top-level, i.e. parented by the Windows desktop - something like a tooltip or menu. When I call SetTopLevel( true ) in my control, Windows Forms (or is it Windows?) creates a form and hosts my control in it! There must be an easy way to create a true top...more >>

Getting out from OnLoad event on a form.
Posted by Emmanuel_ at 3/2/2006 12:00:00 AM
..NET Framework 1.1 Hi I' m wondering what is the best method to close a form while executing code on the Load event. For example: While setting up some controls on the Load event, we discover that something is wrong and we need to Close and Dispose the Form. What is the best way ...more >>


DevelopmentNow Blog