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# > january 2004 > threads for saturday january 31

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

What does this do? Object[0]
Posted by Chad Z. Hower aka Kudzu at 1/31/2004 11:44:26 PM
Object MyOnject = new Object[0]; What does the [0] signify? -- Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/ "Programming is an art form that fights back" ELKNews - Get your free copy at http://www.atozedsoftware.com ...more >>


WebService
Posted by Daniel P at 1/31/2004 10:33:54 PM
Hi, How can I use Webservices for transmit huge data to the database? thanks, dep ...more >>

about inherited
Posted by Owen at 1/31/2004 9:48:51 PM
Hello: How I can know the class of some object?. Like in Object Pascal with this sentence TObject.ClassType = SomeClass? Best Regards. ...more >>

Where to put images
Posted by MC D at 1/31/2004 9:45:14 PM
I'm new to win forms programming, and am having a bit of trouble figuring out where to place images that will accompany the program. Do you place them in the bin directory?? What if you are making a control library to accompany the app, and there are images that accompany the controls? Do you ...more >>

Variable declaration intellisense...
Posted by Da~One at 1/31/2004 9:21:33 PM
Hi all: I am almost positive someone showed me how to do this before, but I cannot remember how it is done. Problem: <csharpcode> public void DoSomething() { SqlConnection cn = new SqlConnection(); } </csharpcode> Before I type the first SqlConnection, how can I get the intelli...more >>

gdi+ Flatten
Posted by WoodBeeProgrammer at 1/31/2004 8:09:28 PM
When i try using Flatten on my ellipse, i get 6 points no matter how fine i set the flatness parameter. According to my understanding of the documentation, the smaller i make flatness the closer the approximation should be, ie many more points in the approximation. What am i doing wrong? T...more >>

Why does this fail? Is my extern signature wrong?
Posted by Hasani at 1/31/2004 8:04:12 PM
OK, I'm trying to programmatically create an Access database/mdb file but CreateDb(string) always returns false. I don't know what I'm doing wrong, is it my extern signature? Thx in advance my references: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/HTML/_core_d...more >>

Preventing an MDI child from being closed
Posted by Iain at 1/31/2004 6:34:29 PM
I would like to prevent the user from closing MDI child windows. However, I would like them to be able to minimize and maximize them. Setting the Control Box to false removes the minimize and maximize too. An obvious thing to do is to handling the CLosing event and cancel it. Sadly, if you ...more >>



intercepting HTML?
Posted by L# at 1/31/2004 6:13:15 PM
Hi, I'm looking for a starting point here. I want to 'intercept' incoming HTML on the client, before it's handled by the browser. Is this possible? Kind regards , Ludwig ...more >>

.NET Framework Directory
Posted by Mark mm at 1/31/2004 5:56:34 PM
The Framework dir is C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 Does anyone know how I can programmatically return the Directory of the ..NET Framework I know how to get the version System.Environment.Version. To get the Directory I was thinking of using System.Environment.SystemDir...more >>

C++ templates in C#
Posted by Bob Weiner at 1/31/2004 5:55:10 PM
Hi, Forgive me if this has already been discussed but does C# have a construct like C++ templates? bob ...more >>

How to immediately close socket release port in C#t?
Posted by L.J.SONG at 1/31/2004 5:31:10 PM
I use following code to create socket and connect to a server app: /// code ///// Socket connecter = null; IPEndPoint localEp = null; IPEndPoint remoteEp = null; IPHostEntry he = Dns.Resolve("localhost"); IPAddress localAddr = he.AddressList[0]; localEp = new IPEndPoint(localAddr,...more >>

Not used reference assemblies
Posted by Vadym Stetsyak at 1/31/2004 4:38:12 PM
Hi there I am building an assembly Asm1, and it has references to Asm2 and Asm3. (/reference: Asm2.dll Asm3.dll) In Asm1 I am using types only from Asm2. The question is will CLR loader load Asm3? I assume that assemblies are loaded only when we reference to the type that assembly contains...more >>

How to sort this array
Posted by Arjen at 1/31/2004 2:19:12 PM
Hello, Persons is a hashtable which I convert to an array. Person[] aPerson = new Person[Persons.Count]; Persons.Values.CopyTo( aPerson, 0 ); Now I can access the person items like aPerson[3].name or aPerson[3].birthdate. How can I sort all the array items based on the birthdate? So t...more >>

How do I: Insert text in an XML document?
Posted by name at 1/31/2004 1:37:15 PM
Say I have an xml document called test.xml that looks like this: <?xml version="1.0"?> <!--test.xml--> <theroot> <group_a> <stuff>This</stuff> <stuff>is</stuff> <stuff>a</stuff> <stuff>test</stuff> </group_a> <group_b> </group_b> </theroot> And I want to insert some s...more >>

How to determine the domain for a NetworkCredential ???
Posted by Prehaut Anselme at 1/31/2004 1:32:28 PM
Hi, I need to create a WebRequest with an automatic proxy I have the specification of this porxy (host & port) I ask the user their own login and password, but the proxy tells me that the connection need an authentification. During the creation of a NetworkCredential you can define the ...more >>

Accessing config files programatically
Posted by Simon Harvey at 1/31/2004 1:21:16 PM
Hi chaps, Can someone direct me to the necessary class that will allow me to write information into my applications .config file? I know how to read information but I'm sure there must be a way to write out to the config file easily as well. Also, my application doesnt actually have a confi...more >>

Source Code Compare
Posted by Doug at 1/31/2004 12:49:57 PM
Hi, I'm looking for a tool to do Source Code comparison. Can anyone point me in the direction? Thanks Doug ...more >>

Sample Code - C# or VB?
Posted by Chad Z. Hower aka Kudzu at 1/31/2004 12:13:34 PM
I need to provide a series of demos for an assembly. There are potentialy several dozen of them. None of them are very complex, however maintaining two versions of them will be very maintainance intensive. Some of the very basic ones I have provided in both C# and VB. However moving forward...more >>

Creating a Pause in Execution
Posted by C# Learner at 1/31/2004 12:03:37 PM
What's a nice way to create a non-blocking pause in execution? Will I need to use some kind of timer for this, or is there a nicer way?...more >>

C# exception question
Posted by Kevin Jackson at 1/31/2004 11:20:39 AM
In the following code snippet, will the finally block be executed when the throw is executed in the catch block???? I'm assuming it will. catch (Exception e) { // if (ContextUtil.IsInTransaction)ContextUtil.SetAbort(); ReportError objError = new ReportError(); objError.Pe...more >>

C# IDE question, adding events
Posted by Rene at 1/31/2004 10:27:18 AM
Hi, I'm expierenced with C++ and VB6 and learning C#. I tried some small application in VB.NET too. But I'm stuck with the IDE: Say in put a button on a form and I double click the button. C# generates the declarations for the Click event. In VB6 and VB.NET (when I'm standing in the butto...more >>

Alternatives to the Output window for Debug info
Posted by chris at 1/31/2004 9:51:36 AM
Hello all - Preface: This isn't a C# Builder question but if you happen to have the answer to my primary problem, please feel free to chime in ;-) I'm using Borland's C# Builder (Personal) and it seems there isn't an Output window (where the Debug.WriteLine() info would go) like VS has. ...more >>

C# Application With Web Pages
Posted by Clive Foley at 1/31/2004 7:50:52 AM
Hey everyone. i have written a simple server that accepts user connections. these connections are made by a simple game which i also made. I would like this game to be played across a network through my server inside of web pages. The thing is the game is 2 player so i want peple to initiat...more >>

html parser
Posted by majid at 1/31/2004 7:46:08 AM
I want write a program with c# to pars a html file how ccan i do this with system.mshtml? or there is other way to do it p;ease help me?...more >>

using a variable within a object name
Posted by Luke Smith at 1/31/2004 4:49:16 AM
I want to loop thru number (0 - 10) and assign values to a hyperlink webcomponent which uses the number in the components id. for (i=0;i<10;i++) { hl_[value of i].hyperlink = "hodhodhso"; } any suggestions? ...more >>


DevelopmentNow Blog