Click here to Skip to main content
15,906,816 members
Home / Discussions / C#
   

C#

 
QuestionWhere can I find the private key associated to my certificate? Pin
Escroto4-Aug-04 9:31
Escroto4-Aug-04 9:31 
AnswerRe: Where can I find the private key associated to my certificate? Pin
Heath Stewart4-Aug-04 12:07
protectorHeath Stewart4-Aug-04 12:07 
GeneralCasting problem Pin
BrcKcc4-Aug-04 8:19
BrcKcc4-Aug-04 8:19 
Generalconceptual question about cryptography and CAPICOM Pin
pelos4-Aug-04 6:33
pelos4-Aug-04 6:33 
GeneralRe: conceptual question about cryptography and CAPICOM Pin
Heath Stewart4-Aug-04 7:10
protectorHeath Stewart4-Aug-04 7:10 
GeneralRe: conceptual question about cryptography and CAPICOM Pin
pelos5-Aug-04 1:53
pelos5-Aug-04 1:53 
GeneralRe: conceptual question about cryptography and CAPICOM Pin
Heath Stewart5-Aug-04 2:29
protectorHeath Stewart5-Aug-04 2:29 
GeneralSorting in HashTables/SortedLists etc Pin
MrEyes4-Aug-04 6:12
MrEyes4-Aug-04 6:12 
Hello all,

I currently have a Hashtable that contains a string key and an int value, I am then using this hashtable to populate a combo box using the int value as the combos display value and the key as the combos real value.

The problem I have is that my hashtable values are all ints and I would like this to appear in descending numerical order in the combo.

It seems that the Hashtable does perform some sort of low level ordering as the items do not enumerate out in the same order they were placed into the hashtable. I have tried using sortedlists but the sorting is performed on a string basis, so you end up with something like :

1
11
12
123
1384
22
26
2984
3

I need to use a these types of collections as parts of my code are highly dependant on the .ContainsKey(...) function and the object["keyname"] functionality which is not available on, say, arraylists of simple object arrays.

After spending sometime with google I have had a look at NameObjectCollectionBase and the cp article http://www.codeproject.com/csharp/hashlistarticle.asp[^] but they both seem a little too much for seems like a simple problem

So the question is how can I generate a numerically ordered collection and have the functionality of a Hashtable?

After spending
post.mode = postmodes.signature;
SELECT everything FROM everywhere WHERE something = something_else;
> 1 Row Returned
> 42
GeneralRe: Sorting in HashTables/SortedLists etc Pin
Heath Stewart4-Aug-04 7:05
protectorHeath Stewart4-Aug-04 7:05 
GeneralRe: Sorting in HashTables/SortedLists etc Pin
scadaguy4-Aug-04 12:09
scadaguy4-Aug-04 12:09 
QuestionHowto write values into a Access DB? Pin
bin_jackson4-Aug-04 6:11
bin_jackson4-Aug-04 6:11 
AnswerRe: Howto write values into a Access DB? Pin
Nick Parker4-Aug-04 6:50
protectorNick Parker4-Aug-04 6:50 
GeneralRe: Howto write values into a Access DB? Pin
bin_jackson4-Aug-04 7:00
bin_jackson4-Aug-04 7:00 
GeneralFolderBrowser crashes with long paths Pin
Lasome4-Aug-04 5:47
Lasome4-Aug-04 5:47 
GeneralRe: FolderBrowser crashes with long paths Pin
Heath Stewart4-Aug-04 5:54
protectorHeath Stewart4-Aug-04 5:54 
GeneralRe: FolderBrowser crashes with long paths Pin
Lasome4-Aug-04 5:59
Lasome4-Aug-04 5:59 
GeneralRe: FolderBrowser crashes with long paths Pin
Nick Parker4-Aug-04 6:10
protectorNick Parker4-Aug-04 6:10 
GeneralRe: FolderBrowser crashes with long paths Pin
Heath Stewart4-Aug-04 7:01
protectorHeath Stewart4-Aug-04 7:01 
Generalrun time properties in icon Pin
aberger564-Aug-04 5:33
aberger564-Aug-04 5:33 
GeneralRe: run time properties in icon Pin
Heath Stewart4-Aug-04 5:49
protectorHeath Stewart4-Aug-04 5:49 
GeneralRe: run time properties in icon Pin
Nick Parker4-Aug-04 5:55
protectorNick Parker4-Aug-04 5:55 
GeneralRe: run time properties in icon Pin
aberger564-Aug-04 6:13
aberger564-Aug-04 6:13 
QuestionC# Socket Problem??? Pin
Korjiro4-Aug-04 5:31
Korjiro4-Aug-04 5:31 
AnswerRe: C# Socket Problem??? Pin
Heath Stewart4-Aug-04 5:52
protectorHeath Stewart4-Aug-04 5:52 
GeneralThumbnail Speed Increase Pin
Gambit_Sunob4-Aug-04 4:27
Gambit_Sunob4-Aug-04 4:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.