Groups | Blog | Home


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
May 2008
June 2008


all groups > dotnet framework > december 2006 > threads for december 1 - 7, 2006

Filter by week: 1 2 3 4 5

NUMBER OF THREADS
Posted by Sugandh Jain at 12/7/2006 9:41:39 PM
Hi, I am confused about the number of threads getting used when I run a desktop application where multiple forms open up from different dlls used in the project. do they open on single thread or multiple forms open on the same UI thread. Regards, Sugandh Jain ...more >>

Technology partners
Posted by Peter Morris [Droopy eyes software] at 12/7/2006 5:29:34 PM
Hi all I'm looking for a list of "most successful" MS technology partners. I am interested in partners who sell tools / plugins / components etc for use within VS IDE. Thanks :-) Pete ...more >>

socket beginreceive and thread exit
Posted by William Stacey [C# MVP] at 12/7/2006 12:36:58 PM
The doco for socket.BeginReceive says: "All I/O initiated by a given thread is canceled when that thread exits. A pending asynchronous operation can fail if the thread exits before the operation completes." I have been bitten by this recently. But it raises another question. If you pos...more >>

Thread.CurrentPrincipal still returns GenericPrincipal
Posted by manny.klystron NO[at]SPAM gmail.com at 12/7/2006 7:20:13 AM
I'm calling AppDomain.SetPrincipalPolicy() with WindowsPrincipal, but Thread.CurrentPrincipal still returns a GenericPrincipal. I don't see Thread.CurrentPrincipal being set before this (which can cause it). Are there any other circumstances under which this can happen? This is ..NET 2.0, ...more >>

British date instead of american
Posted by Gina at 12/7/2006 7:16:39 AM
I normally use this line: Session.LCID = (2057) in my code so that all date fields are british and not american in format. How might I do this when using a console application? It doesn't 'Session'. Thanks! EggHeadCafe.com - .NET Developer Portal of Choice http://www.eggheadcafe.com...more >>

Is this a good Dispose() idea or not?
Posted by first10 NO[at]SPAM btinternet.com at 12/7/2006 4:10:44 AM
use reflection to detect class and instance fields which require disposal you can derive from a base class with these methods and it will automatically dispose void IDisposable.Dispose() { DisposeObject(this); GC.SuppressFinalize(this); }//method // - - - - - - - - - - - - - - - - - - - ...more >>

Explore an assembly programatically...
Posted by Lloyd Dupont at 12/7/2006 12:00:00 AM
In my current project I want to replace a library I'm using by an other one I will write my self. 1st I want to write a skeletton library which feature all type/method I'm using (with no real code inside). For that I would like to go through my project, track every library object I'm usi...more >>

Threading
Posted by Charles A. Lackman at 12/6/2006 10:27:46 PM
Hello, I made a Windows Project in 1.1 and converted it to 2.0 and get the following Error: "Cross-thread operation not valid: Control 'progressBar1' accessed from a thread other than the thread it was created on." I have a small form that is processing a lot of information and if the u...more >>



Known Issues w/ File.AppendText()
Posted by JerryWEC at 12/6/2006 5:33:26 PM
I'd like to know if there are any known issues with using AppendText() method. I'm trying to write data to a log file using it and I'm having some issues. I keep getting an error message from my ProcessException() handler saying "The process cannot access the file 'C:\Temp\Logging\LogFileX.l...more >>

ASP.NET Back Button Saga
Posted by dougloj at 12/6/2006 12:56:36 PM
Hi. I'm new to ASP.NET development (as will become obvious). I developed an application which would normally have several individual .aspx pages. Instead of having several pages, I thought I would be clever and put everything on my default.aspx page. I put all the html code that would normal...more >>

Null stream
Posted by Darren at 12/6/2006 10:21:02 AM
Is there a null stream built into the framework or do I have to derive one?...more >>

New to C#
Posted by Eric D. Anderson at 12/5/2006 10:17:16 PM
Well I am somewhat new to programming in c#. And I am having a hard time = figuring out how to open up a 2nd form within my program. Here is what I am wanting to do:=20 When I click the "about" option from the menuStrip within my program, I = want it to open up a form that I created, and sho...more >>

Extracting resources ...
Posted by gbraux NO[at]SPAM supinfo.com at 12/5/2006 7:09:01 AM
Hello, I have extracted a ".resources" file form a .net 2.0 application (using ildasm). What i whant now il to export data contained in this .resouces file (xaml files *.baml). The problem is that theses files are not typed as String in the resources file, but as System.IO.PinnedBufferMemo...more >>

NGen introduces instability
Posted by Bill at 12/5/2006 6:24:17 AM
We have a section of code that executes cleanly until that code is NGen'ed. After a native image has been created, that same section of code produces a .NET Runtime Fatal Execution Engine Failure and the application closes without warning. Here is the error for the Event Viewer: .NET Runtime v...more >>

Requesting http from a web-site or a windows application, is there any preformance difference?
Posted by Niclas Colleen at 12/5/2006 1:18:38 AM
I'll be sending a bunch(1000's) of SMS/day where the cell phone-numbers are picked up from a database and then a request to something like 'http://www.thirdpartysendingsms.com' is made, they deliver the sms. My question is, which is better; To build an application and run it as a scheduled ta...more >>

How to copy a Form from one solution to another solution?
Posted by AlexAngAB NO[at]SPAM gmail.com at 12/4/2006 6:47:28 PM
I am using Visual Studio.Net 2003. 1. How to copy a Form from one solution to another solution? 2. How to copy a Form within the same solution? Thanks. ...more >>

Changing DisplayNames of my properties using PropertyGrid component, how ??
Posted by Tugrul HELVACI at 12/4/2006 5:04:53 PM
I'm using Delphi 2006 and I have a class defination like this: TPerson = class fPersonName : String; fPersonSurName : String; fPersonAge : Integer; published property PersonName : String read fPersonName write fPersonName; property PersonSurname : String read fPersonSurname write fP...more >>

Web application architecture using 2.0
Posted by cschuman NO[at]SPAM gmail.com at 12/4/2006 3:34:38 PM
Currently there are 60+ web applications at my shop. The applications have similar functionality just different parameters. We are about to go through a reskinning process. I would like to create a master application that contains all UI elements (such as parameters, datagrids, charts, etc.)....more >>

retrieving BLOB from Oracle
Posted by matt NO[at]SPAM mailinator.com at 12/4/2006 11:11:12 AM
hello, for the first time i have to insert & retrieve files from an Oracle datasource (no need for a discussion on *that*!). i learned first-hand of the somewhat awkward technique for inserting binary data into an Oracle BLOB column via ADO.NET. since the files are larger than 33k, it seems...more >>

Algorithm for multi combination
Posted by Jakob Lithner at 12/4/2006 7:38:01 AM
I have a collection of groups: Group1, Group2, ... In each group there are a number of items. I need to produce a list of all possible item combinations where one item is picked from each group. What would be the best algorithm for this? Recursive or iterative? What would be the best datatyp...more >>

RemotingConfiguration.Configur=ADe_Fails_in_SmartClient_with_System.ArgumentException:_URI
Posted by Lambuz at 12/4/2006 6:25:45 AM
Hello everyone, I have an applciation that uses remoting. When the application is run via a local copy it works. When it is run via an HTTP address RemotingConfiguration.Configure fails. Apparently this method can not find the configuration file even though other parts of my application can ...more >>

.NET, Clipboard, and metafiles
Posted by Peter Duniho at 12/3/2006 11:41:56 PM
I'm trying to use .NET and C# to draw a metafile copied to the clipboard by another application (Word 2003 in this case, but it shouldn't matter). I naively thought that I'd be able to use the Clipboard class to get an EnhancedMetafile or MetafilePict object from the Clipboard, use that to ...more >>

Non English in Web
Posted by Anu at 12/2/2006 8:11:00 PM
Hi, I would like to crate a web appication using .Net framework. I want to make a [my native language eg:- Malayalam] - English dictionary. User should be able to see corresponding malayalam charecter when he/she type english keys on keyboard.He should be able to see english meaning whenevr...more >>

Strange problem
Posted by Larry Smith at 12/1/2006 4:45:34 PM
Hi there, When I run the following on my app's primary thread: System.Type.GetType("System.Windows.Forms.Form") It works as expected. If I then launch a thread via the "BackgroundWorker" class immediately after the above call, and invoke the above again as soon as the thread starts, it ...more >>

.Net Development
Posted by joelranck NO[at]SPAM gmail.com at 12/1/2006 12:36:59 PM
My company is looking to migrate from classic ASP to ASP.Net. I know the de facto IDE for ASP.Net is Visual Studio which will be a good step up from Dreamweaver. We are currently on a shared hosting plan and I'm wondering what is the best way to integrate remote web development in VS.Net and our...more >>

How to limmit who can call my assembly
Posted by Kenneth Baltrinic at 12/1/2006 12:30:30 PM
Very simply, I have two assemblies, A and B where A calls methods on B. I want to set it up so that only assembly A can call assembly B. I am sure I have seen something out there on how to do this but now that I need, to, I can't seem to find anything. All I can remember is I need to strong...more >>


DevelopmentNow Blog