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# > april 2006 > threads for sunday april 30

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

Critical Services
Posted by Ashish Jindal at 4/30/2006 8:53:14 PM
Hi, How do I identify whether a service is "Critical" or not? Basically, I am writing a program to stop all non-critical service. AFAIK, the services can be found in "HKLM\CurrentControlSet\Services\<name>". I am getting the names using the ServiceController class (in System.Serv...more >>


Adding a Web Reference changes DataTypes ???
Posted by cc at 4/30/2006 8:41:26 PM
Hi, I having created a simple WebService (in VS 2005) with just one WebMethod as follows : [WebMethod] public DataTable GetProducts() { DataTable objDataTable = null; // code for filling up the datatable return objDataTable; } Then, Adding the WebService as a Web Reference to...more >>

Max. Thread Amount of Windows XP and / or Windows Server 2003
Posted by schuetz NO[at]SPAM gmail.com at 4/30/2006 5:15:02 PM
Hi @ll, I'm working on a web project which has to use multiple channels to connect to receive several sources at once. The problem is, that I'm not aware of the maximum amount of Threads i can allocate to my channels. Can i open 10 threads, 100 threads even 1000? is there a general answe...more >>

External Process Question
Posted by david.sargent NO[at]SPAM gmail.com at 4/30/2006 4:20:41 PM
I have a C# program launching an external process, say notepad. I have the process hidden from the user, and want to be able to take screenshots of the hidden program. I have searched around and found people using Printwindow() with a pointer to the application, but every time all I get is a b...more >>

Return XmlDocument using C# interop
Posted by Bart Roozendaal at 4/30/2006 1:31:30 PM
Hi, I have setup a (my first) C# assembly. I am using the COM Interop services to use the assembly from a Delphi program. Is there a way to return a XmlDomDocument object from the assembly to the Delphi program? If I try to return the XmlDocument object itself, I get an error like: Th...more >>

Desperately needing direction with EncoderParameters and saving images under different compression/quality schemes
Posted by NutsAboutVB at 4/30/2006 1:29:30 PM
Hello, I am a .NET programmer and I have a JPEG image file (from digital camera) of about 109 KB's in size, when I open it and save it (without making any alterations at all, just going to File --> Save) in MS Photo Editor, the file is automatically shrunk in size to 81 KB's. When doing the s...more >>

Process.Start ignores WindowStyle
Posted by Paul at 4/30/2006 11:39:23 AM
Hi, I am trying to start a process hidden. My code: wordprocess = new System.Diagnostics.Process(); ; wordprocess.StartInfo = new System.Diagnostics.ProcessStartInfo(wcmd, args); wordprocess.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden; wordprocess.StartInfo.WorkingD...more >>

Synchronized Collection<T> Recommendation
Posted by Michael Primeaux at 4/30/2006 9:45:40 AM
What is the recommended pattern for implementing a synchronized (thread-safe) class that inherits from Collection<T>? For example, I want to implement a SyncRoot property [of type System.Threading.ReaderWriterLock]. I do see where I can override (protected) the methods InsertItem, RemoveIte...more >>



Error 500 on oXmlHTTP.Send
Posted by RG at 4/30/2006 9:04:32 AM
I have an aspx web pages which interacts with an asmx service. The calls to web service are done via Javascript. The asmx service method has the following parameters: public string RetrieveContact(string Id, int EntityTypeCode) I am getting the following error when executing oXmlHTTP.S...more >>

Global Assembly query.
Posted by Steven Blair at 4/30/2006 6:48:36 AM
My dll belongs to this namepsace: namespace TS3Services.Development My class is called LogError. I have signed the assembly (key.snk). Installing the dll to the gac appears to be successful, but I have two issues: 1. In the GAC, only LogError appears. I would have thought it should re...more >>

Logging Application Block - Databases Trace Listener???
Posted by amitos at 4/30/2006 5:08:20 AM
Hi! I consider using the Logging Application Block, Enterprise Library, Jan 2006 in a major project. To date, I've found that some of its features are not very well documented. One important thing is logging to a database. I tried configuring a database trace listener in the "Enterprise Lib...more >>

How to send a MemoryStream to Client
Posted by ad at 4/30/2006 12:00:00 AM
I have save a Excel file to MemoryStream. How can I send this MemoryStream to client's HD as a excel file? ...more >>


DevelopmentNow Blog