Click here to Skip to main content
14,332,477 members
   

C#

 
GeneralRe: How to connect to a remote windows service Pin
Afzaal Ahmad Zeeshan19-Sep-19 6:34
mveAfzaal Ahmad Zeeshan19-Sep-19 6:34 
QuestionC# Insert TextBox Text into MS Database Pin
DreyerVorster18-Sep-19 10:20
memberDreyerVorster18-Sep-19 10:20 
AnswerRe: C# Insert TextBox Text into MS Database Pin
Mycroft Holmes18-Sep-19 12:37
memberMycroft Holmes18-Sep-19 12:37 
GeneralRe: C# Insert TextBox Text into MS Database Pin
DreyerVorster18-Sep-19 19:27
memberDreyerVorster18-Sep-19 19:27 
AnswerRe: C# Insert TextBox Text into MS Database Pin
jkirkerx18-Sep-19 12:51
professionaljkirkerx18-Sep-19 12:51 
AnswerRe: C# Insert TextBox Text into MS Database Pin
Gerry Schmitz19-Sep-19 0:38
mveGerry Schmitz19-Sep-19 0:38 
QuestionHighest Number of a folder Pin
Member 1398003216-Sep-19 20:07
memberMember 1398003216-Sep-19 20:07 
AnswerRe: Highest Number of a folder Pin
OriginalGriff16-Sep-19 20:37
protectorOriginalGriff16-Sep-19 20:37 
At a guess, because your collection contains folders called "V.2.4.0.12" and "V.3.4.0.9" - and file name comparisons are string comparisons, so they work on a character by character basis: the first different character pair determines the result of the whole comparison.

Me? I'd use the debugger to look at exactly what allFiles contains before I went any further - if it shouldn't contain "V.3.4.0.9" and it does, then you need to look elsewhere. If it should contain "V.3.4.0.9" but this shouldn't be the maximum, then you need to think long and hard about why "V.2.4.0.12" should be selected in preference, and probably write your own more complex comparator method.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!

GeneralRe: Highest Number of a folder Pin
Member 1398003216-Sep-19 21:46
memberMember 1398003216-Sep-19 21:46 
GeneralRe: Highest Number of a folder Pin
OriginalGriff16-Sep-19 21:59
protectorOriginalGriff16-Sep-19 21:59 
GeneralRe: Highest Number of a folder Pin
Member 1398003216-Sep-19 22:05
memberMember 1398003216-Sep-19 22:05 
GeneralRe: Highest Number of a folder Pin
OriginalGriff16-Sep-19 22:32
protectorOriginalGriff16-Sep-19 22:32 
GeneralRe: Highest Number of a folder Pin
Member 1398003217-Sep-19 14:01
memberMember 1398003217-Sep-19 14:01 
GeneralRe: Highest Number of a folder Pin
Peter_in_278016-Sep-19 22:17
professionalPeter_in_278016-Sep-19 22:17 
GeneralRe: Highest Number of a folder Pin
Member 1398003217-Sep-19 14:26
memberMember 1398003217-Sep-19 14:26 
AnswerRe: Highest Number of a folder Pin
BillWoodruff17-Sep-19 17:39
mveBillWoodruff17-Sep-19 17:39 
QuestionHOW TO Auto Install Devexpress Windows PowerShell Pin
Member 1404636316-Sep-19 2:17
memberMember 1404636316-Sep-19 2:17 
QuestionRe: HOW TO Auto Install Devexpress Windows PowerShell Pin
Richard MacCutchan16-Sep-19 2:44
protectorRichard MacCutchan16-Sep-19 2:44 
AnswerRe: HOW TO Auto Install Devexpress Windows PowerShell Pin
OriginalGriff16-Sep-19 3:43
protectorOriginalGriff16-Sep-19 3:43 
AnswerRe: HOW TO Auto Install Devexpress Windows PowerShell Pin
BillWoodruff17-Sep-19 17:41
mveBillWoodruff17-Sep-19 17:41 
QuestionHOW TO Auto Install Devexpress Windows PowerShell Pin
Member 1404636316-Sep-19 2:17
memberMember 1404636316-Sep-19 2:17 
AnswerRe: HOW TO Auto Install Devexpress Windows PowerShell Pin
Dave Kreskowiak16-Sep-19 2:36
mveDave Kreskowiak16-Sep-19 2:36 
GeneralRe: HOW TO Auto Install Devexpress Windows PowerShell Pin
Member 1404636316-Sep-19 2:48
memberMember 1404636316-Sep-19 2:48 
GeneralRe: HOW TO Auto Install Devexpress Windows PowerShell Pin
Dave Kreskowiak16-Sep-19 3:26
mveDave Kreskowiak16-Sep-19 3:26 
GeneralRe: HOW TO Auto Install Devexpress Windows PowerShell Pin
Member 1404636316-Sep-19 5:46
memberMember 1404636316-Sep-19 5:46 

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.