.net-3.5 Questions
2
Solved
I have an application where I want to format a currency using the country's native currency formatting. Problem is, certain countries use multiple currencies, but .NET only assigns one currency per...
Ingot asked 20/6, 2012 at 0:18
3
Solved
I have a WPF user control for which I need to force rendering in RenderMode.SoftwareOnly. Since I am using .NET 3.5, I had to do something like this:
var hwndSource = PresentationSource.FromVisual(...
Feeling asked 9/2, 2011 at 22:2
5
Solved
I need to have a .NET 3.5 DLL have its own config file. This DLL could be called from many different apps so the information (like connection strings) stored in the config file needed to be kept in...
Stingy asked 9/10, 2009 at 14:46
3
Solved
I have a standard (WPF toolkit) data grid. Some of the columns (which are explicitly defined) have to be shown as percentages. Some columns have to be shown in red if the values are below 0. (The t...
2
Solved
I have a .Net Setup Project and set the install location for prerequisites to 'download from same location as my application'.
I downloaded the 'Microsoft .NET Framework Client Profile Offline Ins...
Arianism asked 17/1, 2011 at 15:34
2
Solved
I am a C# developer and want to start learning Dynamics AX. Please guide me can I use my .net/C# skills (knowledge of API) in Dynamics AX ?
I know AX is developed in X++ but some one tell me it i...
Stuffy asked 1/2, 2011 at 3:31
3
Solved
There are times that a method needs to be run several times until it validates. In my case there are expressions like bar.Name.Equals("John Doe") which I want to run and run until this expression v...
2
Solved
How would I convert a string, say "-100,100", to long in C#.
I currently have a line of code which is
long xi = long.Parse(x, System.Globalization.NumberStyles.AllowThousands);
but this breaks...
1
Solved
For I've tried this:
Dim exampleItems As Dictionary(Of String, String) = New Dictionary(Of String, String)
Dim blah = exampleItems.Select (Function(x) New (x.Key, x.Value)).ToList 'error here
Bu...
6
Solved
Quick WPF question - on Win 7 (and I assume Vista) in WPF, the default progress bar does a nice little glowing "whoosh"-y animation.
I'm showing progress of about 48 things on one screen, and it's...
Paragrapher asked 6/10, 2009 at 1:36
6
Solved
I have a simple WCF Web service. It's hosted on IIS under the default website in our production domain. (local address: 10.10.20.100)
By default this default website was setup for "All Unassigned"...
Balanced asked 27/4, 2009 at 11:30
1
Solved
I'm building and displaying a ZedGraph in a WinForm. When I rightclick on the graph, there is an option for "show point values". When that's enabled, hovering over a point will give the X/Y values ...
4
Solved
I'm kinda new to Multi-Threading and have only played around with it in the past. But I'm curious if it is possible to have a List of byte arrays on a main thread and still be able to add to that L...
Rosefish asked 16/5, 2012 at 14:8
4
Solved
What would be the quickest way to have a multivalue Tridion text field split into a comma separated string?
In my case I am using C#, but I guess any other examples are welcome as well.
This is the...
Kt asked 15/5, 2012 at 12:13
1
I am experimenting creating XML data binding classes with LinqToXSD and an XML Schema containing a number of imported schemas. All of the schemas are located here.
To accomplish this, I used the ...
Tenorrhaphy asked 10/5, 2012 at 23:39
3
Solved
Populating a request object for a web-service, I need to dynamically add items to some arrays.
I hoped to simplify it by implementing an extension method:
public static class ArrayExtensions<...
Lesbian asked 14/5, 2012 at 6:50
3
Solved
How can one sort a HashSet<string> in c# .Net 3.5 ?
2
Solved
In MsBuild it is possible to create a build.proj.user file which is parsed by the Microsoft.Common.Targets build file.
I want to have a similar system in place where it is possible to have a .use...
6
Solved
Is it possible to use Reactive Extensions (Rx) to create applications in .NET 3.5 that perform parallelization or is it limited in some way? I downloaded Rx from here http://www.microsoft.com/downl...
Oversubtle asked 31/7, 2011 at 19:32
2
Solved
I heard that the Task Parallel Library can be used in a .Net 3.5 project. Is this correct, and if yes, how do I use it? In .Net 4.0, it resides in System.Threading, but when I select .Net 3.5 as th...
Microhenry asked 7/6, 2010 at 6:21
1
Solved
I am trying to create a simple User Control (not WPF) in VS2008 which effectively is a SplitContainer with a button in Panel1, which when pressed, toggles the Panel2Collapsed property and resizes t...
Alleneallentown asked 25/4, 2012 at 16:28
3
Solved
I am creating a generic converter
Here is a sample code of the generic converter
bool TryReaderParse<TType>(object data, out TType value)
{
value = default(TType);
Type returnType = typeo...
1
Solved
I have to change the targeted framework of a c++ project, from 4.0 to 3.5. I have found this question/answer helpful in how to do it: Change C++/CLI project to another framework than 4.0 with vs201...
4
Solved
I noticed that in MVC 2 Preview 2, AreaRegistration is loading the routes for each area in an arbitrary order. Is there a good way to get one before the other?
For example, I have two areas - "Sit...
Subjective asked 28/10, 2009 at 20:41
5
Solved
I have a Visual Studio 2008 C# .NET 3.5 project where I want to have a thread-safe pool of Foo objects.
public class FooPool
{
private object pool_lock_ = new object();
private Dictionary<in...
Protractor asked 19/4, 2012 at 16:33
© 2022 - 2024 — McMap. All rights reserved.