Groups | Blog | Home


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# > december 2007 > threads for sunday december 16

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

WPF: Binding ComboBox inside of ListBox or ListView
Posted by Shimon Sim at 12/16/2007 11:52:42 PM
I can't figure out how to bind ComboBox inside of ListView or ListBox. How do I set ComboBox.ItemsSource property? I don't see the way to do it in code and not in XAML. I have Collection that is bound to ListBox / ListView and string[] that should be bound to ComboBox. Thanks, Shimon. ...more >>


find closest item in keyed collection
Posted by Steve Richter at 12/16/2007 7:43:56 PM
Does the .NET framework provide a class which will find the item in the collection with a key which is closest ( greater than or equal, less than or equal ) to the keys of the collection? ex: collection keys are 20, 30, 40, 50, 60, 70, 80 find key which is >= 35. would return the 30 key. ...more >>

System.AppDomain.AppendPrivatePath(string) is obsolete
Posted by Peter Morris [Capable Objects] at 12/16/2007 3:24:06 PM
System.AppDomain.AppendPrivatePath(string) is obsolete : AppDomain.AppendPrivatePath has been deprecated. Please investigate the use of AppDomainSetup.PrivateBinPath instead. From what I can see, using this recommended new approach restricts me to adding the bin paths *before* I do anythi...more >>

Instead of Control Panel Applet
Posted by Grok at 12/16/2007 3:00:19 PM
My C# application is a Windows Service. I have two problems that I would like to solve in the correct way using C#.NET. 1) There are a number of user settings which I'd like to store in an XML file. I read these settings each time the service does some work, then close the file. Should I us...more >>

Returning scope_identity
Posted by Mick Walker at 12/16/2007 1:51:41 PM
Hi all, I use the following logic to insert a new record to my database: SqlConnection conn = new SqlConnection(); SqlCommand cmd = new SqlCommand(); conn.ConnectionString = ConnString; cmd.Connection = conn; cmd.CommandType = CommandType.StoredProcedur...more >>

SortedDictionary with IComparer bug?
Posted by Ralph Wiggum at 12/16/2007 1:11:19 PM
I'm trying to use a comparer to sort keys according to a specific priority. After adding the keys, there is a KeyNotFoundException when I try to read values back from the dictionary. Even if the key is in the SortedDictionary.Keys collection. Please help! using System.Collections; using Syst...more >>

make the computer press keys
Posted by Rogelio at 12/16/2007 1:06:01 PM
hey I need to make a program that opens a different program, then goes to "File -> New" and then press enter to indicate a new document, etc.. is it possible to make a windows service, that will open a program press a series of keys for me? my reality is more complicated than my example, I...more >>

What Math.Tanh(1) return?
Posted by Polaris at 12/16/2007 11:19:35 AM
Hi Experts: I have a question about Math.Tanh: For a 45 degree 'angle' (radians is 45 * pi / 180 = 0.785), Math.Tan(angle) returns 1 as expected; but Math.Tang(1) returns 0.76. Why not 0.785? Thanks in Advance! Polaris ...more >>



Im bored with MI5, spam no more, give me back CHR$(12)
Posted by christery@gmail.com at 12/16/2007 10:47:36 AM
just to clear the screen in console... yes I know ho to do that but 20 lines c/c# of code for cls... and posting from msdn of the m$... is not an answer... always the wrong namespace or something... FF, FormFeed do just that (not posting)... I cant get it to work... whats next EOF: is not ...more >>

Article: Generating 3D Graphics in .NET using POV-Ray
Posted by Nick Sterling at 12/16/2007 7:33:40 AM
http://londonelegance.com/tyburn-consultancy/hf3d/ Full source included... ...more >>

Problem implementing QuickSort algorithm
Posted by Meyvn at 12/16/2007 3:19:10 AM
Dear microsoft.public.dotnet.languages.csharp-ers, I'm struggling with my implementation of a QuickSort algorithm. I believe I grasp the concept (after looking up some explanation of the algorithm), but there seems to be something wrong with my code. Any help would be appreciated :). Note: ...more >>


DevelopmentNow Blog