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 sunday november 5

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

DataRow hashCode or fingerprint...
Posted by Ing. Davide Piras at 11/5/2006 9:23:08 PM
Hi there, I really don't know if I can post here or microsoft.public.dotnet.framework.adonet could be better... anyway: in my .NET 2.0 C# arcitecture (windows form as client application, web application/web services as server), I have some methods that retrieve datasets from web service, the...more >>


Why does this test for null fail?
Posted by Jim H at 11/5/2006 8:42:15 PM
Pid.DBMil lMil = null; if (null == lMil) System.Diagnostics.Trace.WriteLine("\r\nIt was NULL\r\n"); //-- this never prints That diag line never prints. later on in a loop I do this: for (int i = 0; i < liLoopCount; i++) { if(lMil == null) lMil = new Pid.DBMil(); ...more >>

Help with thread implementation
Posted by Peter Thornqvist at 11/5/2006 7:35:57 PM
Hi! I have a directory and file search class that I would like to call in an asynch manner. The class is implemented such that whenever a matching item is found (directory, file, file content) an appropriate event is triggered. The application/class using it subscribes to the events (to upd...more >>

Help need with DataGridView
Posted by Saravanan at 11/5/2006 6:55:01 PM
Hi, I am using DataGridView for displaying data I want to some idea about the following 1. How to split and merge cells in DataGridView 2. How to place column header in the bottom of the cell because by default it is coming as top of the cell, how to change the behaviour of the datagridvie...more >>

Interface problem in C#2.0
Posted by Manuela Abele at 11/5/2006 6:32:03 PM
Hello everybody, I have a problem with interface and I need urgent your help. public interface IKoerper { // Properties int laenge { get; } int breite { get; } int hoehe { get; } int anzahl { get; } // Methods double errechneFlaeche(); void hinzufuegen...more >>

Creating a dockable form or pane in an MDI form
Posted by farseer at 11/5/2006 6:02:01 PM
Hello, i am looking for some advice on how to create a form or pane that is dockable/undockable to the right side of an MDI parent form, while allowing new windows to be displayed "freely" on the right side of the MDI form (i.e. undocked and movable). I basically want to have a tree view on ...more >>

Hashtable question
Posted by JohnGoogle NO[at]SPAM hotmail.co.uk at 11/5/2006 4:26:16 PM
Hi, I've been reading the documentation for Hashtables and I've come across the following expressions: This method is an O(1) operation. This method is an O(n) operation. What do these mean? TIA, John. ...more >>

Regular expressions: finding one occurence
Posted by Peter Thornqvist at 11/5/2006 1:18:45 PM
How would I design a regular expression to find the first occurence of a specific pattern and not look for more matches? -- Regards, Peter ...more >>



Zip files using the Compressed Folders functionality in Windows
Posted by MadMonk at 11/5/2006 10:20:02 AM
Hi, I need to write a small Windows application (console or forms) (for Windows XP SP2 & Windows Server 2003), which will check a folder for the presence of some files, and if they exist, it will zip the files using the inbuilt Compressed files functionality of Windows (same as the Context ...more >>

Thread.Resume
Posted by Tam at 11/5/2006 10:05:55 AM
Hi group, Just downloaded the new Visual Studio 2005 (well new to me seeing as i was previously using 2003). My problem/question is that my Thread.Resume statements in an application I've created has been depracted and I'm having trouble finding what I should use instead. Help? Regard...more >>

Encrypting a String with AES?
Posted by mfunkmann NO[at]SPAM yahoo.com at 11/5/2006 9:19:48 AM
Hi there, I want to save an object in a file, at first I have toserialize it, then I have a string. This string should be encrypted before it is saved on the hdd. Are there any usable encryption methods? Preferable AES but anything lower would do it.. kind regards Matthias ...more >>

How to not block on long requests?
Posted by Jeff at 11/5/2006 7:51:19 AM
I have a worker thread that calls into a 3rd-party application that can take a long time to respond to API calls. How can I make sure that my worker thread promptly responds to stop requests from my main UI thread? Should my worker thread spawn yet another thread for calls into the 3rd-party app...more >>

Another MVP pattern question
Posted by Bill44077 at 11/5/2006 7:40:02 AM
Hi, I am new to the MVP pattern and one of the main reasons that we are going this route is because we are doing Scrum with 30 day sprints - so we have a continually morphing design. We are using TDD as well to improve our ability to refactor... you probably all know this approach. Altho...more >>

Why aren't web service methods available remotely?
Posted by axel22 NO[at]SPAM gmail.com at 11/5/2006 6:30:18 AM
I've made a web service in c# and published it with IIS. I can access it's methods locally, but when a colleague tried to access the Web Service over the Internet using my IP address, he succeeded in getting the xml interface, but he couldn't invoke any methods. I on the other hand can do it o...more >>

Does Socket.Shutdown() or Socket.Close() block?
Posted by PAzevedo NO[at]SPAM gmail.com at 11/5/2006 6:02:10 AM
Hi there. I called Socket.Select() on a group of sockets, and got one that was writable. On that socket i called Send() and sent a buffer of size smaller then SendBufferSize that way Send() won't block. Now right after that Send() i want to get ride of the socket but since my server model is...more >>

Awesome Csharp Information
Posted by zephyr678 NO[at]SPAM mail.com at 11/5/2006 4:23:03 AM
Check out: www.ChezBrandon.com ...more >>

Web Service + SqlConnection
Posted by axel22 NO[at]SPAM gmail.com at 11/5/2006 3:05:48 AM
Ok here it goes. 1. I've created a new web service project in F:\c#\WebSites\ServisBaze. 2. I've published the web service with IIS in a virtual directory who's actual path is: F:\c#\Published\ServisBaze 3. Tried opening it in a browser - it works perfectly. 4. Now I've added an SQL Database o...more >>

Create an object by class Type reference?
Posted by docschnipp at 11/5/2006 2:34:01 AM
Hi, I have a bunch of object derived from the same base class. They all share the same constructor with some parameters. Now, instead of using a large switch() statement where I call every single Object by itself, I'd like to assign a reference to the class type and call it later without kn...more >>

Creating C# DLL for Excel VBA
Posted by Paul at 11/5/2006 1:12:14 AM
Dear all, I am trying to create a DLL in C# and try to invoke the DLL from my excel VBA code. This may not be a purely C# problem, since I am not sure whether I have done something wrong with my excel VBA code too... I have created the C# component, my code is looking like this: pu...more >>

Copy text between 2 bookmarks
Posted by Alan T at 11/5/2006 12:00:00 AM
I have two bookmarks, eg. beginMark and endMark I need to get the text between these 2 bookmarks, how do I do that? eg. <beginMark> Hello Word! This is Saturday. Now is Sunday. <endMark> ...more >>


DevelopmentNow Blog