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# > november 2006 > threads for saturday november 25

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

Important method in setter.
Posted by kruskal at 11/25/2006 11:56:47 PM
Hi, if i have: private a; public T A { get { return a;} set { important_method(a, value); a =3D value;} } in class C... Anyone can do: C c =3D new C(); A a =3D c.A; a =3D new A(); And a will change without important_method(a, new A()); How can I prevent it? ...more >>


Why does the try statement (and catch clause) require a block?
Posted by reycri NO[at]SPAM gmail.com at 11/25/2006 7:11:02 PM
While the following is allowed: if (a == b) SomeFunction(); else OtherFunction(); The following is not: try DoSomething(); catch (Exception e) ProcessError(e); I checked the C# grammar and it confirms that, unlike all other compound statements, it requires a bl...more >>

outcome of: int i = new System.Int32(); ???
Posted by Jeff at 11/25/2006 5:02:00 PM
Hey I'm wondering what the outcome of this is C# code really is: int i = new System.Int32(); Which one of these scenarios below describe what the outcome is: #1: A new reference type instance of i set to zero #2: An uninitialized i variable #3: An initialized i variable set to zero I or...more >>

MarqueeControl: MSDN Walkthrough question
Posted by John D'oh at 11/25/2006 3:57:05 PM
Hello, I have been going through the MSDN Walkthrough: Creating a Windows Forms Control That Takes Advantage of Visual Studio Design-Time Features. Everything was going fine and I was able to create and compile the MarqueeControlLibrary project. And I think I even understood most of it. ...more >>

IDisposable und COM
Posted by Matthias Pieroth at 11/25/2006 2:38:39 PM
Hallo NG, ich habe mal eine Frage zum IDisposable-Pattern und COM. Wir haben eine MFC-Anwendung in die wir .NET integrieren (COM Interop, .NET 1.1). Es gibt eine API in COM, von der wir aus der TypeLib den .NET Wrapper (RCW) generieren. In .NET kapseln wir die RCW-Objekte an einigen Stellen...more >>

How to save user options and settings to a file, like we used to do with INI files?
Posted by Richard Lewis Haggard at 11/25/2006 1:45:12 PM
I have an application that can't use the registry to save various user options and application settings. My first thought was to simply use an application configuration file but this approach seems flawed. The app config file appears to be updated with values while the application is running...more >>

design a webform
Posted by SemSem at 11/25/2006 1:33:01 PM
how to make a well design web pages and web form in ,net as all form ido is very simple iwant to improve it . if there some tools to used in .net or some techneque iheard about css or something like ths . can someone tell about all this. tahnx -- Islam Khalil, regrads...more >>

Suggestions for studying for Brainbench test
Posted by Siegfried Heintze at 11/25/2006 10:22:40 AM
I'm going to be taking the brain bench test soon. Does anyone have any helpful hints? I asked the recruiter if it was on C# 2005 or C# 1.0 and she did not know. She thought it was on C# 1.0. Thanks, Siegfried ...more >>



c# out of memory question
Posted by pberent NO[at]SPAM covad.net at 11/25/2006 8:16:49 AM
I am trying to run a c# program which loads very large arrays (total of about 1.2GB). I have 2GB of RAM on my machine and looking at task manager it doesnt look like it has all been used. I have set virtual memory (ie disk space to be used as RAM) to 3070MB. I have tested my RAM using a RAM test...more >>

Converting #ifdef and #ifndef to C#
Posted by canoewhiteh2o NO[at]SPAM yahoo.com at 11/25/2006 6:41:41 AM
I am converting a couple of C header files to C#. It is mainly just a bunch C structs but I am not sure how to handle the #ifdef and #ifndef in C#. For example: #ifndef DATE_TIME #define DATE_TIME unsigned long #endif // NOT DATE_TIME The #define DATE_TIME I am handling with: public const ...more >>

Make Well Design Forms
Posted by SemSem at 11/25/2006 3:58:01 AM
iwant to know if there any way to make awell design forms as ithink .net can offered to me good design tools ineed to kow how idsign an asp well design site and if there techneques are used in designing ihear something like css or style sheet ihope to find enough infomration from som...more >>

Process handle
Posted by Lin at 11/25/2006 3:16:07 AM
Hello, I am new to c#, please help. I am writing an application, which will be able to send email automatically, for a very large organisation. The application I am writing should be on the central server, anyone within the organisation should be able to download the application and run on ...more >>

any C# GUI samples/tutorials for .Net Compact Framework on WinCE
Posted by George at 11/25/2006 2:05:01 AM
Hello everyone, I have some experience of C# development on Windows desktop. Now I am learning how to develop GUI application using C# on WinCE device, based on ..NET Compact Framework. Are there any samples/tutorials to make reference for a beginner? thanks in advance, George...more >>

temporarily disable focus changing
Posted by Jon Slaughter at 11/25/2006 12:00:00 AM
Is there any method to temporarily disable focus changing?(I assume only method is tab or mouse?) This problem has been tieing me up for a while and nothing seems to work. The only thing that I *know* will work is to disable all tab stops on all controls. This brute force method doesn't seem l...more >>

RegEx for newbie
Posted by Praveen at 11/25/2006 12:00:00 AM
Im new to C# regEx. I want to do a validation in array of integers and alphanumeric, to know each item is a number between 250 and 350 using regEx. string[] Arr= new string[] {"191", "677", "31", "901", "250", "100", "313", "219", "1234567", "abc123"}; thanks, Praveen ...more >>


DevelopmentNow Blog