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 > dotnet general > may 2005 > threads for sunday may 22

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

Calling a constructor from another
Posted by Sathyaish at 5/22/2005 8:02:07 PM
How does a constructor of one class call another of the same class? When would this mechanism make sense or be required? PS: Two instances I saw are: (a) While using the Singleton pattern (b) While using the Factory pattern ...more >>


Windows Forms MainMenu question
Posted by yoshimitsu at 5/22/2005 7:04:57 PM
Hi, I have decided to use a MainMenu in my main form. I have a menu item "Open Form". When this item is clicked I want the "newform.frm" to open just below the menu in the main form. How can this be done? I am using VB.Net. Thanks for any replies. Yoshi...more >>

Types of constructors
Posted by Sathyaish at 5/22/2005 12:42:28 PM
What is a private constructor, and why would a class have one? What are the other kinds of constructors besides: (1) public constructors; and (2) parameterized constructors And I understand that they are not mutually exclusive of one another. The above classification assimilates my knowledg...more >>

better performance
Posted by Aaron at 5/22/2005 11:42:51 AM
Some of my db-driven web pages rarely change. They pull the exact same data every time (the table is almost read-only). Should I consider using page caching? or do i just need to turn on caching in IIS 6? I'm new to this. could someone point me to the right direction? Thanks, Aaron ...more >>

BMP pixel array
Posted by james at 5/22/2005 10:42:02 AM
I don't know if this is the right place to show my question. I can't understand why, in the BMP array after the headers, i find some zero that aren't in the real BMP image. This zero are at the end of a single pixel row. Sometime i find three zeros. I've seen, in a web page, that if a row ins...more >>

Type.IsSubclassOf
Posted by ME at 5/22/2005 10:41:09 AM
It appears that IsSubclassOf does not work. In the following example, why does typeof(IDerived).IsSubclassOf(typeof(IRoot)); yeild False when the IDerived interface DOES in fact derive from IRoot? The IsSubClassOf documentation states the following: "Determines whether the current Type de...more >>

Where are ref types that are members of value types stored?
Posted by Sathyaish at 5/22/2005 7:29:53 AM
Structs are value types, strings are ref types. If you have something like this: struct foo { System.String str; } foo TheDayToday; then, where's TheDayToday.str going to be stored? (a) The string is going to be stored on the stack; (b) The struct is going to be stored o...more >>



DevelopmentNow Blog