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# > february 2004 > threads for saturday february 28

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

webrequest session
Posted by ¼­°­È£ at 2/28/2004 10:05:59 PM
use HttpWebrequest. get cookie in URL1 and use this cookie in URL2 how to coding? ...more >>


Comments on XML Documentation Comments (no pun intended)
Posted by C# Learner at 2/28/2004 9:49:20 PM
What are your views on XML documentation comments? I always comment every class using <summary> tags, and comment *some* methods. A lot of C# code that I've seen written by others uses appropriate XML documentation comments for *every* method. What do you think about this? Should _every_...more >>

Question about inheritance
Posted by Du Dang at 2/28/2004 8:54:58 PM
class Base { public Base (string str) { Console.WriteLine(str); } } class Derived : Base { public Derived (int i) { // do some thing here based on "i" to generate a string ...more >>

Query and list Network computers
Posted by Oshadha at 2/28/2004 8:46:06 PM
Hi All I'm trying to query and get a list of all reachable computers in a network. I also heard that you can query active directory and find domain pc list. but my need is not to query active directory. In windows xp "My Network Places -> Microsoft Windows Network" provides all machines that are pr...more >>

memory leak in C#?
Posted by bobo at 2/28/2004 3:53:02 PM
GraphicsPath p=new GraphicsPath(); //p.AddLine(p1,p2); //p.Widen(pen); p.Dispose(); this code runs ok. but if I uncomment the two lines above. the program finally crashes out of memory? can somebody tell me why? thank you. ...more >>

How can I get started as a c# developer
Posted by Ron at 2/28/2004 2:02:33 PM
I currently am learning c#.net on my own, still consider myself a rough beginner. I have 6 years development experience with most of the time spent on Lotus Notes/Domino/VB. Would like to get involved in a project to learn. No job is too small. My time is flexible even though I work duing the ...more >>

how to use this VB.Net code in C#??
Posted by Jason at 2/28/2004 1:39:08 PM
CType(e.Item.Cells(3).Controls(0), TextBox).Text I want to use this in c# how can i DO that?? thx ...more >>

The network BIOS session limit was exceeded
Posted by Peter at 2/28/2004 1:24:19 PM
I have a C# program that checks directory on a UNIX server and once in a while I get the following error 'The network BIOS session limit was exceeded.' if I log off and log back on the error goes away. Does any one know what is causing this error or how to prevent it? Peter -- Thanks -...more >>



How to set a form full screen?
Posted by zhimin at 2/28/2004 1:24:12 PM
Hi! How to set a form full screen, the title bar, close button, and system task bar should hide while the form run. Like some game software such as Empero Era, Brood, Quake and so on. Thanks! ...more >>

Excel namespace in C#
Posted by skrishnan NO[at]SPAM snet.net at 2/28/2004 11:14:09 AM
I just created a Excel 2002 interop. When I view thru the object browser I see Excel {}, does this mean this is the Excel Namespace, just a doubt. So does {} mean namespace....more >>

Arrays in structures
Posted by Peter Seaman at 2/28/2004 8:46:58 AM
I understand that structures are value types and arrays and classes are reference types. But what about arrays as members of structures i.e. as in C struct x { int n; int a[100]; } How is such a structure (e.g. declared in C++ as a field in a class) accessed in C#...more >>

Unable to start excel from .NET C#
Posted by skrishnan NO[at]SPAM snet.net at 2/28/2004 7:48:00 AM
This is my first attempt, please bear. I referenced Excel 10.0 Object from VS .NET IDE, I think this creates Interop Object for Excel. I have the following code. ------code start---- using System; using System.Runtime.InteropServices; using Excel; namespace ConsoleApplication3 { ...more >>

Newbie: Missing something obvious about instance references
Posted by glorfindel50 NO[at]SPAM hotmail.com at 2/28/2004 6:53:10 AM
Hi I've been searching for a solution to my problem all day now but haven't found anything which makes me think the solution is something obvious. Any help is appreciated. Suppose you have three classes in separate files and two namespaces. using Pain.Common; namespace Test { publi...more >>

Comparing arraylist
Posted by Robert Linder at 2/28/2004 4:01:53 AM
I am trying to compare arraylists in csharp. I setup a simple test with empty arraylists. string [] x1 = {}; string [] x2 = {}; Console.WriteLine( x1 == x2 ); // false Console.WriteLine( x1.Equals(x2) ); // false Console.WriteLine( x1.GetLength(0) == 0 ); // true ...more >>

Is There a Way to Avoid This Mess?
Posted by C# Learner at 2/28/2004 3:19:26 AM
Is there a way to avoid the following mess? int i = 0; if (someString != null) { try { i = Int32.Parse(someString); } catch (FormatException) { } } More specifically, is there a way of avoiding the ugly empty catch statement?...more >>

Changing Desktop Wallpaper
Posted by tamerucar NO[at]SPAM superonline-dot-com.no-spam.invalid at 2/28/2004 3:18:15 AM
Hi, How can I change desktop wallpaper? I tried editing "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System" key but it doesn't work. I tried this API call: [DllImport("user32.dll", CharSet=CharSet.Auto)] public static extern int SystemParametersInfo (int uActi...more >>

Any Tool that can explore DLL
Posted by John at 2/28/2004 12:25:13 AM
Hi, In C#, we can use p/Invoke by using [DllImport()] to define extern function to call C/C++ DLL. Is there any tool/wizard that we can use to explore the DLL (without header file) and generate the [DllImport()] extern function automatically? Sometimes when I could not delete a file because...more >>

Register .NET assembly as COM component with REGASM
Posted by Andy Bates at 2/28/2004 12:06:44 AM
Hi - I have a C# .NET assembly that exposes a COM interface (basically has an interface and class with Guid attributes). If I compile this under VS.NET (with the "Register for COM Interop" selected). Then I can import the TLB into C++ and use the component as a standard COM component, it cr...more >>


DevelopmentNow Blog