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
all groups > c# > august 2005 > threads for sunday august 7

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

One timer for each timed action, or one centralized method, on a t
Posted by Javaman59 at 8/7/2005 10:25:01 PM
I have a GUI which is monitoring a real-time device. I have several timed actions, such as periodic polling of the device, and indicators which flash for a fixed period. My first implementation of this was to replicate the way I have seen this done before - have one central timed method, w...more >>


Hide DataGrid Row
Posted by Steve B. at 8/7/2005 9:21:02 PM
How can I hide a datagrid row or set it's width to zero. I need to filter the grid and and show only rows with selected data. Steve...more >>

Updating the state of a control
Posted by RL Stevenson at 8/7/2005 8:05:32 PM
Often I want to change the Enable or Visibility on a control when some other control on the form changes. Or maybe I need to make a change to the DataSource on a combo box when the user makes a selection elsewhere on the form. In Visual FoxPro, you would call Refresh on the form causing Re...more >>

Convert.ToDateTime
Posted by simon at 8/7/2005 7:59:52 PM
I have datetime variable: Datetime tsEndTime; Should I use (DateTime): tsEndTime=(DateTime)rdr.GetValue(15) or is better to use: tsEndTime=Convert.ToDateTime(rdr.GetValue(15)) What is the difference? Thanks,S ...more >>

Managing Complexity in Windows Forms
Posted by RL Stevenson at 8/7/2005 7:39:18 PM
What is a reasonable way to manage a complex form with 5 or so tabs with 100 or more controls bound to 5-10 tables in a database? Pasting all those controls, datasets, data adapters directly onto the form resulted in an unwieldy file of nearly 10,000 lines of code. Seems like there must be...more >>

Class reference
Posted by Erick Sasse at 8/7/2005 7:07:55 PM
How can I make a method that takes a class (not an instance) as parameter? And I want this parameter to accept only Windows Form classes, ie classes that inherits System.Windows.Forms.Form. Thanks! -- Erick Sasse...more >>

How to you design an icon?
Posted by Visually Seen # at 8/7/2005 5:50:31 PM
Hey everybody, How do I design an icon which will appear on my EXE for my Windows Application? Thanks everybody, Visually Seen Sharp ...more >>

xmlElement and namespace
Posted by Christoph at 8/7/2005 3:50:15 PM
I'm using the following code to create what will be the root element of my XML document. XmlDocument controlDocument = new XmlDocument(); //add root node XmlElement rootNode = controlDocument.CreateElement( "ns0:MyRootElement" ); rootNode.SetAttribute( "xmlns:ns0", "http://my.namespace.uri" )...more >>



Best way to pass Array in and out of Custom Control?
Posted by CraigLearningCSharp at 8/7/2005 2:15:01 PM
Hello, What is the best way to pass a 1D array of numbers in (and out) of a control? I've been looking at the property wizard and don't see an option for arrays? The idea is to make something like a graph control which graphs an array of 1D numbers. When I pass the numbers into the contr...more >>

Painting Parent Control Area..............
Posted by Hiten at 8/7/2005 12:59:37 PM
Hi I have created one control by inheriting class from control this class has one property caption, now i want that this caption will be printed on each and every instance of class is created on consuming class/container, this caption will be near the control/object created on container. ...more >>

How get path to my EXE?
Posted by Bill at 8/7/2005 12:45:58 PM
Is there a better way than string exePath = Assembly.GetExecutingAssembly().CodeBase; to get the path to my EXE? -- ..Bill....more >>

Find path to EXE?
Posted by Bill at 8/7/2005 12:43:15 PM
I need to find the path to my EXE. Is there a better way than: string exePath = Assembly.GetExecutingAssembly().CodeBase; Thanks. -- ..Bill....more >>

XML & Typed Datasets
Posted by EAI at 8/7/2005 11:09:42 AM
Hi, I need to place XML into a database. I created a typed dataset from the tables. Now the incoming XML might contain some null values. How do I handle them? I get errors when I try to load XML into Typed dataset when some of the elements are missing. Thanks! ...more >>

combo box question
Posted by Bill at 8/7/2005 10:40:29 AM
Hi I am using a combo box and it populates fine. I have the DataBinding property set to the SelectedValue. However when I save the record, the information for that particular field is not saving in the database. I am using ms access. Any suggestions. Thanks in advance Bill ...more >>

YOU WANT SEX???
Posted by ThecounT at 8/7/2005 10:15:19 AM
Check this site out: http://www.pheromoneking.com Karen ...more >>

C# vs C++
Posted by Metal at 8/7/2005 10:08:39 AM
Is C# better than C++? What are the advantages of C++ over C# and vice versa? Thanks and regards Metal ...more >>

How to ask this java.nio.channels.SelectionKey.isConnectable() in
Posted by yaron at 8/7/2005 6:50:01 AM
Thanks. ...more >>

File Type assignment details
Posted by Jesper at 8/7/2005 6:40:02 AM
Hi, I've done some file type assignment to a program I've made such that e.g. when I double click on files of type .foo it will be openened in my program. However, I'm still missing two things: 1) When I right click on the .foo file (in MS Windows) and selects properties, my applicati...more >>

Checking if a service is up
Posted by r at 8/7/2005 5:16:45 AM
Hi, I would like to check from within my c# app, if certain services are up or down, to activate and to stop them. Any idea on how to do it? Thanks in advance ...more >>

Design mode in 2.0 ???
Posted by Steven Blair at 8/7/2005 4:01:34 AM
In 1.1, I could view a web form in grid mode and freely move components around in design time. How do I do this in 2.0. I have hunted everywhere for the option and cant seem to do it. Any help would be appreciated. Regards, Steven *** Sent via Developersdex http://www.developersdex....more >>

RectangleToScreen question.
Posted by Peter Rilling at 8/7/2005 2:43:16 AM
Okay, this method seems simple, but it eludes nonetheless. I have a control that is nested in other controls. Essentially the control is nested several contains from the main form. All I want is to determine the screen coordinates of the control, but if I call RectangleToScreen on either the...more >>

XmlDocument to string
Posted by David Dvali at 8/7/2005 12:02:47 AM
How can I save XmlDocument xml text to string? ...more >>

Is a multiple try-catch-throw useful?
Posted by Arjen at 8/7/2005 12:00:00 AM
Hi, I'm doing this: try { try { } catch(Exception ex){ throw; } } catch(Exception ex){ throw; } Is a nestled try-catch-throw useful? Or is one enough? Thanks! ...more >>

Read XML element value
Posted by David Dvali at 8/7/2005 12:00:00 AM
Hello. I have such XML file: <root> <elem1> <optional> Some data <optional> </elem1> </root> How can I get value of the "optional" node? Thank you. ...more >>

Strange exception in GDI +
Posted by £ukasz at 8/7/2005 12:00:00 AM
Hi, I'm writing application which is drawing an icon. Then it's displayed in tray by NotifyIcon. And there is a problem, because sometimes an exception is thrown: Type: System.Runtime.InteropServices.ExternalException Message: A generic error occurred in GDI+. Source: System.Dr...more >>

XmlDocument element checking
Posted by David Dvali at 8/7/2005 12:00:00 AM
How can I check if the XmlDocument contains some element? For example: <root> <elem1> <optional> Some data <optional> </elem1> </root> How can I check if the XmlDocument contains "optional" element? ...more >>


DevelopmentNow Blog