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 > march 2005 > threads for tuesday march 15

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

BackgroundWorker SecurityException: "Request Failed"
Posted by Danny T at 3/15/2005 9:34:42 PM
Hi, I've copied the sample code from the .net2 framework docs for the BackgroundWorker class, but I'm having problems running it! If I compile it and launch the exe, all works fine. If I launch it from Visual C# Express (Beta1) by pressing Ctrl+Shift+B, or if I access it via the webserver...more >>


Reflection: how to omit inherited members.
Posted by Philipp Schumann at 3/15/2005 7:45:43 PM
Hello, I obtain the properties of a Type t through Type.GetProperties(BindingFlags). I use the following flags: BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public Now, some of the returned properties are actually overriding properties from ...more >>

conflict in dot net framewort 2.0 for visual studio 2005 and sql s
Posted by MTP at 3/15/2005 6:41:06 PM
has anyone experienced trouble running visual studio 2005 and sql server 2005 on the same box as a result of conflict between the dotnet framework versions for each, or any other reason? ...more >>

Debugger displays wrong lines when in a dynamically loaded assembly
Posted by TkPins at 3/15/2005 6:28:15 PM
I am loading an assembly using the following code: ObjectHandle oh = Activator.CreateInstanceFrom(assemblyName, className); object obj = oh.Unwrap(); MyInterface interface = obj as MyInterface; interface.MyFunction(); // Call a function in the loaded assemb...more >>

User Idle Time
Posted by Dr. Björn Kesper at 3/15/2005 3:25:53 PM
Hi, I'm searching for some kind of event or maybe a system variable that I can query if there is no user input (mouse movement or keyboard input) for a given time period. Thanks! ...more >>

Thread safety of asynchronous sockets, also - documentation vs reality
Posted by chris gouldie via .NET 247 at 3/15/2005 3:13:47 PM
I have a multiple part question about the thread safety of the Socket class, and how asynchronous socket events occur. The documentation of this class is misleading, but the behavior is what I would expect (and want). Here is my interpretation of the documentation: When you call BeginReceive...more >>

Atomic FileSystem operations
Posted by Brian Richards at 3/15/2005 3:02:23 PM
I have an application that's processing multiple files and doing copy/move/delete operations on those files to other directories. I'd like to have code that would ensure for the entire list of files that all operations succeed. Such that if one file was in use I could rollback or undo all the ...more >>

Embedded Resources
Posted by Todd Acheson at 3/15/2005 2:37:09 PM
I'm looking for the correct way to use the command line compiler for VB.NET to embed an "XML" type of rext file into an assembly. My file extension is "RPX", which is a DataDynamics Active Report file. All documentation I can find points to having either a RESX or a TXT file, using RESGEN to ...more >>



How can i start an application from code?
Posted by dee at 3/15/2005 1:42:40 PM
Hi How can I start an application using .NET? I want to start notepad with contents of a certain file. Thanks Dee ...more >>

Trouble Calling Events From Threads
Posted by dotNetDave at 3/15/2005 1:11:09 PM
I am having trouble getting events fired from threads to call back on the original thread. I have an non-UI "sub" assembly that periodically goes out and retrieves information. When it finds new or changed information it fires events to whoever is listening (could be another sub-assembly or a ...more >>

Hashtable acting strange
Posted by Kevin Grigorenko at 3/15/2005 12:13:12 PM
Thanks for anyone's help on this. First, here is my abbreviated class structure: class A { protected obj myObj; public override int GetHashCode() { return myObj.GetHashCode(); } public override bool Equals(object obj) { if(obj is B) return myObj.Equals(obj); retur...more >>

Why so few options for ProcessWindowStyle enumeration?
Posted by Chuck Heatherly at 3/15/2005 11:49:15 AM
There are times when I want to start a child process from my main process, and show the user that it is running, but have the active window focus remain on my main process. From what I can tell, this is only possible in managed .NET by using the Visual Basic .NET function Shell(), parameter 2 wh...more >>

How to identify given DLL is WIN32 or .NET assembly?
Posted by Gnanaprakash Rathinam at 3/15/2005 11:46:54 AM
Hi All, Is there a way to identify given .dll is WIN32 or .NET assembly by looking into PE headers? Thanks, GP. ...more >>

Setting file/directory permissions
Posted by Steve Bugden at 3/15/2005 11:23:07 AM
Hi, Is there a simple way to set file/directory permissions programatically in ..net. All I want to do is to check that I have write access to a file or directory. If I don't have access I want to change the permission of the file before writing. I assume that the assembly that makes ...more >>

Snap-in failed to initialize: .NET Framework 1.1 Configuration
Posted by Kenneth at 3/15/2005 10:43:44 AM
When I try to access the Microsoft .NET Framework 1.1 Configuration, I get an error message: Snap-in failed to initialize: .NET Framework 1.1 Configuration CLSID:... Any help? ...more >>

preparing web server for .NET
Posted by Brent at 3/15/2005 7:31:14 AM
Can anyone point me to a good article explaining all factors to consider when preparing a web server for .net applications. I am specifically concerned about what conflicts will arise with the existing traditional asp web sites that exist on the web server. Thanks, Brent...more >>

Opening HttpWebRequest in Internet Explorer
Posted by mwieder NO[at]SPAM gmail.com at 3/15/2005 7:23:19 AM
Hi - I'm writing some web site automation using HttpWebRequest. At a certain point in the process, I need to continue the session that I have started inside Internet Explorer as opposed to continue through HttpWebRequest. I can save off the web page and open it in IE, but how do I pass the coo...more >>

Very slow code...
Posted by ?BOT at 3/15/2005 3:00:59 AM
Why is the following code so slow? I have a listView that must refresh it's processes data every 3 seconds. However, this sometimes goes beyond 5 seconds and crashes the application. I have tries multi-threading, also ListView.BeginUpdate + EndUpdate(), but the code is sooo slow. Try it for your...more >>


DevelopmentNow Blog