.net-4.0
Window.Top reads different result in .NET 4 to .NET 3.5
We have a WPF project developed with .NET 3.5, we have converted to .NET 4, to benefit from new features, but, our main window\'s top & left properties get different results than they did in .NET[详细]
2023-04-13 08:30 分类:问答how do i create new OU in Active Directory using DirectoryServices.AccountManagement in .net 3.5 or 4
to create & find users & groups in Active Directory i\'ve been using this code: http://anyrest.word开发者_如何学Cpress.com/2010/06/28/active-directory-c/[详细]
2023-04-13 07:17 分类:问答Determine how much data is being stored in ViewState per control [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: How to decode viewstate[详细]
2023-04-13 06:32 分类:问答how to replace code that uses now obsolete System.Data.OracleClient namespace classes?
I\'ve made a \"generic\" program that converts data from a db to another. It uses configuration files to define the conversion. It uses code like this:[详细]
2023-04-13 06:31 分类:问答.NET Find Windows Sleep Settings
I would like to find out what the current windows sleep mode setting is i.e. Is it switched on and what is the timer period. Any ideas?[详细]
2023-04-13 05:36 分类:问答Drag and drop a DLL to the GAC ("assembly") in windows server 2008 .net 4.0
I\'ve trying to deploy some code to a client machine, where I don\'t want to install MS windows SDK tools.This meansdon\'t have access to \"gacutil\".I also have not created an installer for my code.I[详细]
2023-04-13 04:42 分类:问答C# bound table adapter not updating until called twice
New to C# from vb.net and I 开发者_运维问答am just making some mock bound applications for now. I have problems with the following code. If I pic an image and exit the application, there is no change.[详细]
2023-04-13 00:01 分类:问答How to use interlocked operations against memory-mapped files in .Net
Is there any way to use the Interlocked.CompareExchange(); and Interlocked.Increment(); methods against values stored in a memory开发者_如何学C-mapped file?[详细]
2023-04-12 20:58 分类:问答When to use Expression
I am trying to determine what to use ... I have a requirement to pass an IEnumerable<TSource> to a function that writes the entity members\' values to file. Here is what the IEnumerable looks l[详细]
2023-04-12 19:45 分类:问答Using reflection to get property attributes from a metadata class
I have a LINQ generated class called Project. I wanted to add some attributes to the generated properties, so I defined a partial class with the MetadataType attribute.[详细]
2023-04-12 18:22 分类:问答