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# > february 2008 > threads for sunday february 17

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

custom TraceListener accessible via code but not via app.config
Posted by michael sorens at 2/17/2008 10:31:02 PM
I created a custom TraceListener by subclassing a TextWriterTraceListener. (TextWriterTraceListener has most of what I want already.) My custom TraceListener works fine when I instantiate it through code. When I attempt to instantiate it in the app.config file, however, it is not able to find ...more >>


can't debug!
Posted by Lord Zoltar at 2/17/2008 7:20:11 PM
I finally got around to taking VS 2008 beta for a test spin, and I can't debug! I add a breakpoint to any line in my application, and when I hit "Debug", my program starts, and then immediately ends, skipping the breakpoint. It's probably a config setting somewhere, but I've never seen anything ...more >>

Help Needed Initialising Class
Posted by Mick Walker at 2/17/2008 7:09:12 PM
I have the following class: class Axis { private int _num1; private int _num2; private int _num3; public int Num1 { get { return _num1; } set { _num1 = value; } } public int Num2 { get ...more >>

Finding formatting items in a string
Posted by Jack at 2/17/2008 6:39:56 PM
Hi there, Given a standard .NET string, does anyone know what the regular expression would be to locate each (optional) formatting item in the string (or more likely does anyone have a link that will show me this). For instance, given the following simple string: "My phone number is {0} ...more >>

need a good gui framework
Posted by colin at 2/17/2008 5:03:39 PM
Hi, Im making a model editor and got most of it working but I need to make the user interface with many of the features found on the c# IDE itself such as multiple dockable configurable toolbars, tabbed colections of documents/menus/controls etc, not to mention keyboard mapping althought this i...more >>

Does compiler omit unused methods?
Posted by Michael A. Covington at 2/17/2008 3:50:53 PM
Does the C# compiler omit methods that are never called? I'm constructing a class with many methods, one of which is probably incompatible with Mono. I'm wondering it it will be omitted from the .exe in programs that never refer to it. Or is that wishful thinking? ...more >>

Reasons for Why Array.Copy would be Slow on Reference Type
Posted by jehugaleahsa@gmail.com at 2/17/2008 1:49:34 PM
Hello: I have an internal class of type Node which inherits from NodeBase. The only difference is that NodeBase has pointers to other NodeBases and Node has a value associated with it. Each NodeBase has an array of NodeBases. Occasionally, I want to make this array grow in size. However, wh...more >>

DataReceived type event for tcpclient network stream?
Posted by JamesB at 2/17/2008 11:27:15 AM
I have a service and a client forms app - I want to be able to have the service send data back to the client app intermittently, and I've established a connection between the two using tcpclient. What I can't see is any sort of event I can use that will be triggered when data is received at t...more >>



datagridview and datatable
Posted by kjqua at 2/17/2008 10:10:54 AM
Hi every one. I will like to know if is possible to copy data from a datagridview to a datatable. If is possible how can i do it. The datagrigview is not connect to a source, i add manually data to the datagridview. thanks marco...more >>

Serialization vs Binary Read/Write
Posted by Mugunth at 2/17/2008 9:13:22 AM
Is there any special advantage of using Serialization using a BinaryFormatter over classic Read/Write using BinaryReader and BinaryWriter? In my case, Serialization is bloating up the output file size drastically at least by a factor of 5. Serialization also takes more time (probably because of...more >>

How to detect the current email address????
Posted by Emil at 2/17/2008 8:18:02 AM
Hi all, In my application when some works are finished the program should automatically send an email to some persons (their emails are known before). The point is, different user can do this operation on different PCs, so I want to get the standard email account on the PC where my applicat...more >>

Coordinate systems
Posted by doofy at 2/17/2008 7:51:19 AM
I'm thinking of writing my own Entity Relationship software in C#. I've seen some of these, and some drawing programs too, where it seems you can just keep adding stuff at any border and you always have room, like an ever expanding palette. I'm wondering if these programs internally go by ...more >>

Design / Good practices question
Posted by Jorge at 2/17/2008 6:57:18 AM
Hello, I've got a question. I'm developing an application in C#, in three layers. Well... i've got several entities, all of them, of course, can be created / modified / deleted. I've written, in the UI layer, a superclass, which is inherited by every "entity form", with methods, for inst...more >>

How to assign string to WPF Button.Tag by using XPath
Posted by Luming at 2/17/2008 6:36:46 AM
Guys, I am trying to bind Button.Tag property to a XPath value by using < Button tag="{Binding XPath=@attr}" /> . However, this tag attribute always get value - System.Xml.XmlAttribute . If I bind the same attribute to Button.ToolTip, I can get correct string. Anyone here can help me out? Than...more >>

Function with uncertain return type
Posted by RP at 2/17/2008 5:50:21 AM
I have a function to return minimum of n numbers. Code given below: =====[ CODE ]=============================== private int FindMinimum(int[] numbers) { int temp, i; temp = 0; for (i=0; i<= numbers.length; i++) { temp = Math.Min(temp, numbers[i]); } retur...more >>

Runtime enumerating languages supported by application
Posted by nano2k at 2/17/2008 1:05:01 AM
Hi I am developing an aplication and I want to implement multilanguage support. I already implemented 2 languages: default is english, the other is romanian. In the future I want to implement support for other languages (french, etc). Is there a way to detect in runtime all supported langua...more >>

Memory leak ?
Posted by CRM Master at 2/17/2008 12:04:25 AM
Hi I have a Visual Studio 2005 c# windows application that keep using more and more memory and I can't seem to see where the problem is. Is there someway to see what resources are used and how much memory they take ? I suspect some datasets/connections not beeing closed but can't seem to...more >>


DevelopmentNow Blog