.net-3.5 Questions

14

Solved

Is there a library or a class/function that I can use to convert an integer to its verbal representation? Example input: 4,567,788` Example output: Four million, Five hundred sixty-seven thousan...
Thielen asked 16/2, 2009 at 19:35

2

I'm looking for solution to add snapping/sticky windows functionallity (winamp-like) to existing WPF application. Same thing as it was asked here, just I need it for WPF. It doesn't have to have d...
Chun asked 22/6, 2009 at 16:3

8

Solved

I wonder if there is a counterpart to java.util.LinkedHashMap in .NET? (ie. the elements are (re)ordered automatically if I access an element. (boolean accessOrder) ).
Regelate asked 28/1, 2009 at 8:58

5

Solved

I need to add in a WYSIWYG control into a .NET form. I found this one from SpiceLogic on several sites and was wondering if this is a decent library to use? http://www.spicelogic.com/Products/NET-...
Hokanson asked 27/5, 2011 at 17:26

10

Solved

Is there any way to find minimum value index more efficient/faster than this? int minimumValueIndex = List.IndexOf(List.Min());
Miscible asked 1/5, 2013 at 17:41

5

Solved

I'm having trouble reading a "chunked" response when using a StreamReader to read the stream returned by GetResponseStream() of a HttpWebResponse: // response is an HttpWebResponse StreamReader re...
Abrams asked 19/8, 2008 at 21:28

7

Solved

I have a string let say, string temp1 = "25 10 2012" but I want this, "2012 10 25" what would be the best way of doing it. format will always be like this.
Implantation asked 25/10, 2012 at 12:19

11

Solved

in the System.Linq namespace, we can now extend our IEnumerable's to have the Any() and Count() extension methods. I was told recently that if i want to check that a collection contains 1 or more i...
Surgeon asked 20/11, 2008 at 12:11

5

Solved

I've googled and debugged extensively and I can't figure out what causes this exception. Anecdotally re-installing the .NET framework sometimes fixes this, but it seems a little sketchy as a fix: ...
Bookkeeper asked 31/1, 2011 at 15:57

10

Solved

I have this and all seems to work fine but not sure why and if its valid. Dictionary<string, List<string>> test = new Dictionary<string, List<string>>(); while (test.Cou...
Cortese asked 29/6, 2010 at 18:25

6

Solved

In tools/exceptions, I've set the option that the debugger stops when an exception is thrown. Whether it is caught or not . How do I exclude an exception of that rule? Somewhere in my code there ...
Ecdysis asked 14/9, 2009 at 8:45

9

Solved

I have the following declaration: Dictionary<string, Dictionary<string, string>> like = new Dictionary<string, Dictionary<string, string>>(); I need to get the first elem...
Hayrack asked 20/12, 2012 at 20:27

4

Solved

At runtime, I would like to specify a parent class, and then the program would generate a list of all children classes (of however many generations). For example, if I had Entity as a parent, and I...
Boathouse asked 15/12, 2012 at 22:19

5

Solved

Anyone know how I can convert Request.Cookies into a List<HttpCookie>? The following didn't work as it throws an exception. List<HttpCookie> lstCookies = new List<HttpCookie>( R...
Cranwell asked 27/5, 2010 at 16:5

21

Solved

How do I change the height of a textbox ? Neither of the below work: this.TextBox1.Size = new System.Drawing.Size(173, 100); or this.TextBox1.Size.Height = 100; I wanted to be able to change...
Carboniferous asked 2/5, 2011 at 2:41

9

Solved

I need a financial year based on current or today's datetime. Suppose if we consider today's date is 10 April 2011, then i need the outputs as Financial Year 2012 and for some cases i need to disp...
Fruitarian asked 16/1, 2012 at 10:6

12

Solved

Is there any easy LINQ expression to concatenate my entire List<string> collection items to a single string with a delimiter character? What if the collection is of custom objects instead of...
Kylynn asked 18/2, 2009 at 0:56

14

Solved

I've been using Winforms since .NET 1.1 and I want to start learning WPF. I'm looking for some good resources for a beginner in WPF. What should I read, what tools do I need, and what are the best...
Stationery asked 24/9, 2008 at 20:30

8

Solved

I've got a reference to System.Configuration - and ConfigurationSettings is found no problem - but the type or namespace 'ConfigurationManager' could not be found!? I've read around - and it looks...

4

Solved

I want to index all the user actions and websites in google chrome. i understand that google chrome index all the data in sqlLite database. how can i Programmatically access the chrome web history ...
Lindell asked 22/12, 2011 at 18:22

12

Solved

In my winform app, I am trying to add a userSetting, although the error is occuring with appSettings too. When the setting is added I get an exeption thrown that says: "Configuration system failed ...
Goshorn asked 14/1, 2009 at 14:52

10

Solved

I would like to create the following behaviour in a ScrollViewer that wraps ContentControl: When the ContentControl height grows , the ScrollViewer should automatically scroll to the end. This is e...
Sillabub asked 6/6, 2010 at 15:48

4

I am looking for a way to add and remove a TraceListener for all existing TraceSources. (I am not sure my approach is correct here, what other ways could I use? Basically I want to log all trace ...
Fina asked 14/5, 2012 at 10:20

7

I have a asp.net checkbox list bound to a linq to sql datasource and when I check the item count of my CheckBoxList on the page load event it is 0. I want to be able to set the selected items on my...
Autophyte asked 27/4, 2009 at 11:24

7

Solved

I'm trying to create extra functionality to the String class (IsNullOrWhitespace as in .NET4 ) But I'm having an problem with referencing: Error 1 'String' is an ambiguous reference between 'str...
Fatten asked 30/6, 2011 at 13:28

© 2022 - 2024 — McMap. All rights reserved.