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# > september 2007 > threads for saturday september 8

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

'embedded resources' and Dispose error..?
Posted by Fred* at 9/8/2007 8:58:56 PM
Hello, I'm using Visual C# 2005 Express. if I create a new "application windows" project and run it (F5), it works well. (an empty window is launched..) as soon as I set the build action to embedded resource, I can't run it anymore because I got an error on 'WindowsApplication1.Form1.Di...more >>

Generics with multiple constrains
Posted by Quan Nguyen at 9/8/2007 6:42:00 PM
I am trying to create a generics class with multiple constrains, as follows: public class KeyHandler<T> where T : TextBoxBase, ComboBox When I try that, the compiler would complain: The class type constraint 'System.Windows.Forms.ComboBox' must come before any other constraints If ...more >>

Arrays by ref (yes, yet another ?)
Posted by mr peanut at 9/8/2007 4:32:01 PM
I see that array names are pointers and that a given array, say A[,], can be altered within a sub when passed as an argument; whether it be by (ref double[,] A) or by (double[,] A). I do not clearly understand when to use (ref double[,] A) but I believe it is when I want my sub to be able ...more >>

Double vs double
Posted by mr peanut at 9/8/2007 3:00:00 PM
Is there a difference between: private Double[,] B = new double[2, 2]; and private double[,] E = new double[2, 2]; The editor shows the Double in aqua and double in blue leading me to think so. But the screen tip indicates they are equivalent. ...more >>

C# .Net Keyboard problem
Posted by Brian Ward at 9/8/2007 2:18:51 PM
Hello ===== I am trying to do a simple exercise using Visual Studio C#. I have a form with one picturebox and some buttons. I want to be able to control a picture box graphic using the keyboard (especially arrow keys). All works well by using the Form1_KeyDown() method .. until I add buttons ...more >>

Connection String and application settings (Windows Forms)?
Posted by Thorsten Dittmar at 9/8/2007 2:03:56 PM
Hi, I don't get it. I'm using a typed dataset with table adapters and all that stuff. I have the database server running locally on my development system. Now: when creating a tableadapter I'm asked for the connection and the connection string is automatically stored in the settings. So far...more >>

Mixed language programming
Posted by SurferJoe at 9/8/2007 12:27:15 PM
I am looking for specific documentation on how to call C# Windows Forms or DLL's from say Delphi for example. Thanx in advance, Greg ...more >>

Enterprise library database question
Posted by AutoTrackerPlus at 9/8/2007 12:05:53 PM
I'm using the EL 2.0 library. I have a datalayer where I am debating doing 2 things... I'm concerned that because I am using a IDataReader, my connection to the database is never getting closed and I have to rely on garbage collection to close the connections. I came across an article that ...more >>



Benefits using Properties?
Posted by Yin99 at 9/8/2007 11:47:46 AM
I programmed JAVA for a while and starting C#, and was experimenting with "Properties". Question I have, is what is the benefit? JAVA does not have the concept of properties, so what is JAVA missing and why is it so great C# has it? Thanks, Yin ...more >>

DataSet vs DataTable
Posted by csharpula csharp at 9/8/2007 10:04:26 AM
Hello, Could you please tell me the difference between DataSet and DataTable? Thank u! *** Sent via Developersdex http://www.developersdex.com ***...more >>

a few issues with events
Posted by not_a_commie at 9/8/2007 9:36:24 AM
First, all over my code I have something like this: if(dumbEvent != null) dumbEvent(blah); What's dumb about that is that the compiler or JIT engine should be able to figure out if the thing is null or not and skip it. Another thing that's dumb about that is I'm always nervous that someb...more >>

Console key example
Posted by Gus Chuch at 9/8/2007 7:58:38 AM
Does anyone have a simple example on how to use the Console.Key() function? I’m just trying to read in 5 numbers. Something like this. String Key ConsoleKeyInfo(); Int Number =0; For (int I =0; I<=5; I++) { Key = Console.Key(); Number = Number & Convert.ToInt32(Key); } -- thank...more >>

Bluetooth module performance
Posted by CodeDemon at 9/8/2007 5:17:20 AM
Hi all! I'm wondering - is there any possibility to monitor bluetooth activity? Avg. bytes/sec, current Bandwidth etc... Looked through available perfromance counters - ain't found appropriate one :( Any assistance will help! ...more >>

Line numbering
Posted by Gus Chuch at 9/8/2007 5:02:01 AM
I can’t find the line numbering on/off in the option box. Am I missing something? Can any one help me. I’m using visual studio C# 2005 express edition thank You Gus...more >>

RichTextBox scroll position
Posted by Jesper, Denmark at 9/8/2007 4:54:03 AM
Hi, I have a somewhat long calculation report printed out in a RichTextBox. To find or monitor a particular value, users scroll down to the location of the data in the RichTextBox. However, when the user changes the input data, a recalculation is made and a new report is generated. This res...more >>

Certification
Posted by cypher_key at 9/8/2007 4:19:57 AM
I've currently started my MCAD certification. I'm wondering, however, if it would be a better idea to take the MCTS for the 2.0 framework instead. I realize I can upgrade from a MCAD to a MCPD, but I'm wondering which route would be best. I should be noted that I'm not looking to become a deve...more >>

Find text within HTML file
Posted by Piotrekk at 9/8/2007 3:01:15 AM
Hi Having a keyword i need to search HTML file for keyword dismissing all the tags, and checking only plain text. Is there an easy way to do it in C#? Thanks PK ...more >>

Class library and dotfuscator
Posted by mart_nl NO[at]SPAM hotmail.com at 9/8/2007 12:57:33 AM
Hi group, I have a class library containing a Windows form. I create a dll from this project and use it in my application like so: Assembly asm = System.Reflection.Assembly.LoadFrom("path_to_file.dll"); Form newForm = new Form(); newForm = (Form)asm.CreateInstance("Namespace.frmTestform"...more >>

adding collection to another collection...
Posted by Adam Right at 9/8/2007 12:00:00 AM
How can i add a collection to another collection ? For example : --------------------------------------------- StringCollection strColl= new StringCollection(); //string series Hashtable hshCol= new Hashtable(); // main collection for string series strColl.Add("white"); //first series star...more >>

Configuration for a DLL?
Posted by Hahnl Josef at 9/8/2007 12:00:00 AM
What is your suggestion to deal best with .Net 2.0 configuration for a DLL assembly (outside every application)? The DLL should handle the configuration itself. Thanks for your effort! ...more >>


DevelopmentNow Blog