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# > january 2007 > threads for sunday january 14

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

Allow Tab in a RichTextBox?
Posted by Michael A. Covington at 1/14/2007 11:22:05 PM
How do I allow the user to use the Tab key (to insert a Tab) in a RichTextBox? The sticking point is how to get Tab to generate a KeyDown event rather than simply moving the focus to the next control. ...more >>

Combobox with checked list box.
Posted by saurabhnsit2002 NO[at]SPAM gmail.com at 1/14/2007 9:21:13 PM
Can anyone help me about how to create combo box with its items as checked boxes or radio buttons. This has to be done in C#. I have seen something similar to this named custom combo boxes but they are in MFC I have to remain constrained only in C#. I have tried to add checked listbox in combobo...more >>

probleme with toolstrip
Posted by Mark at 1/14/2007 9:20:13 PM
Hi, I have a toolstrip with several buttons, I can only see the image assigned for each button in design time and not on runtime. I've tried several different formats .bmp, .png, .ico for these buttons without any success. Does anybody experienced this issue before? do you have any idea wh...more >>

Deployment project question
Posted by Michael A. Covington at 1/14/2007 7:54:02 PM
Greetings, Here's a question about deploying my C# application. My program includes a large library of data files. As far as I can tell, data files can only be added to a deployment project one at a time. Is there a way to add a whole folder, with all its contents and subfolders, to a ...more >>

Calling a generic method that has a return value
Posted by Otis Mukinfus at 1/14/2007 4:04:33 PM
I've been wrestling with this for a while and can't figure it out. I have a generic method with the following signature: //this compiles OK public abstract class DataMethod { public abstract T Select<T>(); } I want to call it like this: public override T Select<T>() { ...more >>

ThreadPool.QueueUserWorkItem worker thread quit quietly?
Posted by FJY at 1/14/2007 2:09:01 PM
Hello All, I met a strange behavior with the system threadpool. The worker thread seems to quit in the middle of processing. Here is the code: I could see the step 1 is finished but step 2 is not finished. There was no exception. Any thoughts? { .... ThreadPool.QueueUserWorkItem(new Wa...more >>

Instantiate class from string
Posted by tiempotecnologia NO[at]SPAM newsgroup.nospam at 1/14/2007 1:01:39 PM
Hi I have a string with a classname, and I need to instantiate an object of this class. How I can do that? For example formclass = "form999" (formclass)MyNewForm = new (formclass)( ); MyNewForm.Show( ); Of course the string is assigned at runtime Thanks In Advance Rodrigo Juar...more >>

newbie questions on http handler
Posted by Raymond Du at 1/14/2007 10:46:24 AM
Hi, I have questions about http handler: (1) Does it always ends with .ashx, the articles I read said http handler is for developers to create something to handle different kind of files extension, but all example I saw use .ashx. (2) It does not inherit from Page class at all. Right? If it...more >>



'using' statements
Posted by Ben at 1/14/2007 10:09:00 AM
Hi, I sometimes see code where the 'using' statements at the top of the file are located before the namespace declaration, and sometimes they are located inside it. For example: using System; using System.Collections; namespace MyNamespace { ... } and namespace MyNamespace...more >>

How to programmatically read the body text of Outlook email?
Posted by sherifffruitfly at 1/14/2007 9:56:32 AM
Hi, I get usage statistics emailed to me weekly, and would like to analyze the numbers. How can I read the body text of these emails into, say, a String instance? Thanks, cdj ...more >>

Disabling internet access
Posted by richard.sutcliffe NO[at]SPAM gmail.com at 1/14/2007 8:38:46 AM
I want to write a small service that will simply disable internet access from my kids PC between certain times (to make sure they do their homework, etc). I know I could buy any number of internet monitoring software but I don't want to act as 'big brother'. What would be the simplest, most r...more >>

MdiList property in VS 2005 ??
Posted by Chris Peeters at 1/14/2007 6:48:29 AM
hi, in VS 2003 one used the MdiList-property of a menuitem to display the Active Mdi-child windows in the menuitem. But I can't find it nowhere in VS2005. what is the equivalent for that in VS2005 ? thank you Chris *** Sent via Developersdex http://www.developersdex.com ***...more >>

generics - constraint
Posted by Michael Moreno at 1/14/2007 6:31:39 AM
hello, I am trying to write a generic class where the underlying type is either an int, a float or a double: public class CMatrix<T>: ICloneable where VarType: int, float, double but that does not compile. The error message is : 'int' is not a valid constraint. A type used as a cons...more >>

Window Hooks
Posted by andyblum NO[at]SPAM gmail.com at 1/14/2007 1:45:30 AM
>From my reading it is not possible to create Global Hooks for WIndow Creation, Destroyed and Moved events in C#. I am just unclear about the difference between a global and locals hook. Is global anything that is not part of my application while local is anything that is? I do know the handl...more >>


DevelopmentNow Blog