.net-3.5 Questions
3
Solved
I want to change in my .NET application login of user from Active Directory.
I'm changing it in this way now:
DirectoryEntry userToUpdate = updatedUser.GetDirectoryEntry();
userToUpdate.Properti...
Clothilde asked 17/9, 2012 at 20:49
2
Solved
I'm creating a custom control that lays out radio buttons (No it doesn't have to be radio buttons. I'm just trying to learn how to do this so I can make some more complex stuff down the road that m...
Mislay asked 13/9, 2012 at 19:42
1
Solved
My data structures knowledge is way rusty, and to be honest it was never my strongest point.
Right now we're about to build a queue-like component that has the following requirements:
Has to be ...
Desist asked 10/9, 2012 at 5:33
1
Solved
I know and I think I understand about the (co/conta)variance issue with IEnumerables. However I thought the following code would not be affected by it.
[DataContract]
public class WcfResult<T&g...
1
Solved
I need to run a method with a given parameter in a thread. I've noticed that when I run it,
the parameter is wrong. For the example given, I have an array int[] output with the numbers 1-7. For ea...
Diecious asked 7/9, 2012 at 19:25
9
Solved
3
Solved
I have the following code:
Guid id = imageMetaData.ID;
Data.LinqToSQL.Image dbImage = DBContext.Images.Where(x => x.ID == id).SingleOrDefault();
dbImage.width = imageMetaData.Width;
dbIma...
Carlotacarlotta asked 3/2, 2009 at 21:46
4
Solved
In a big system mvc-based there are views responsible for editing data and views that display that data.
Example: UserManagementView and UserSelectionView.
Each subsystem should know whether it n...
Preoccupancy asked 15/6, 2012 at 13:52
1
Solved
I have tried this several ways and keep getting an error each time I try.
This is using .net 3.5 with asp.net(forms) and vb.net.
Examples:
Dim _registrations = New List(Of Integer)
Dim regList ...
3
Solved
I'm writing an iterator that needs to pass around a mutable integer.
public IEnumerable<T> Foo(ref int valueThatMeansSomething)
{
// Stuff
yield return ...;
}
This nets me "Error 476 It...
Kaycekaycee asked 26/6, 2009 at 18:1
1
Solved
I'm having some issues accessing a WCF Web service that returns Json. Usign the WCF Test Client, I figured what config to use but this config is for .Net 4.0 and my client app is in .Net 3.5 (with ...
7
Solved
Is there anyway to have the var be of a nullable type?
This implicitly types i as an int, but what if I want a nullable int?
var i = 0;
Why not support this:
var? i = 0;
11
Solved
Is there anyone already implement memcached for production use in Windows environment?
Because many blogs that I've read, it's not recommended to run memcached in Windows especially for production ...
Spondee asked 9/12, 2008 at 2:41
1
How can I imitate the functionality of the ExpandoObject in a .NET 3.5 application with the least overhead? My best lead so far is to use the Lin Fu framework ( http://www.codeproject.com/KB/cs/Lin...
Triable asked 9/2, 2011 at 21:27
1
Solved
I'm trying to implement a class which uses a simple cache for holding data retrieved from an internal service. I'm using a ManualResetEvent to block multiple threads which may try to refresh the ca...
Phocis asked 25/7, 2012 at 9:23
4
Solved
Our application is built with VS 2008, uses Linq and has Target Framework set to .NET Framework3.5.
It works OK when only .NET 3.5 or 4 is installed on the machine.
However, on machines where bot...
3
Solved
We have recently upgraded all our projects from .NET 3.5 to .NET 4. I have come across a rather strange issue with respect to string.IndexOf().
My code obviously does something slightly different,...
6
Solved
If I'm using generics, like in this sample case, is there a way to shorten the syntax so I don't have to repeatedly type "CompanyLookupData"?
Func<CompanyLookupData, CompanyLookupData, bool>...
4
Solved
I face the following problem time after time and i don't know how to fix it ..
I get the following errors frequently , and i had to restart the IIS or republish to fix the problem temporary :
Err...
Galvan asked 2/7, 2012 at 9:2
5
How do I get it to work with my project?
http://ajax.asp.net/
http://www.codeplex.com/AjaxControlToolkit/
2
I got a strange problem or even behaviour with a WebRequest. First and foremost, here's what I'm trying to do:
Dim req As HttpWebRequest = CType(Net.WebRequest.Create("https://cloud.myweb.de/myeng...
Helminthiasis asked 3/7, 2012 at 22:8
2
Solved
1
Solved
Possible Duplicate:
C# serialport and hyperterminal
Problem
I'm having trouble with my serial connection. I can send data to my device, but I can't read data. If I use Hyperterm, eve...
Hamford asked 27/6, 2012 at 0:0
2
Solved
I am trying to aggregate several queries together to provide a latest updates display for my users using a common data structure for union support. In my first function I have the following select ...
Shortfall asked 25/6, 2012 at 22:5
1
Solved
I have a DataGridView which colors its rows when its States property is set.
States is a String which represents a semicolon-separated numbers list.
If I receive "0;1;2" the three first rows will ...
Hone asked 22/6, 2012 at 9:10
© 2022 - 2024 — McMap. All rights reserved.