Click here to Skip to main content
15,914,071 members
Home / Discussions / C#
   

C#

 
AnswerRe: Writing redirected output from an unmanaged executable to a windows form control Pin
led mike3-Oct-06 8:39
led mike3-Oct-06 8:39 
GeneralRe: Writing redirected output from an unmanaged executable to a windows form control Pin
erikash3-Oct-06 9:30
erikash3-Oct-06 9:30 
QuestionRe: Writing redirected output from an unmanaged executable to a windows form control Pin
erikash3-Oct-06 11:40
erikash3-Oct-06 11:40 
QuestionObject array question Pin
T.Willey3-Oct-06 7:21
T.Willey3-Oct-06 7:21 
AnswerRe: Object array question Pin
Guffa3-Oct-06 8:41
Guffa3-Oct-06 8:41 
GeneralRe: Object array question Pin
T.Willey3-Oct-06 9:13
T.Willey3-Oct-06 9:13 
AnswerRe: Object array question Pin
Guffa3-Oct-06 9:47
Guffa3-Oct-06 9:47 
GeneralRe: Object array question Pin
T.Willey3-Oct-06 9:59
T.Willey3-Oct-06 9:59 
I thought that is what I was doing here, and I wrong?

int intTest = string.Compare(TestStr, tempStr, true);
if (TestStr.Length < tempStr.Length || (intTest < 0 && tempStr != "")) {
--NewArLoc;
}

I saying that the NewArLoc is equal the to the length of the array minus one. Then if the length of the string I'm working with 'TestStr' is shorter that the one I'm testing it against 'tempStr', or the value is less (value from string.Compare), then minus one. I want the lowest string value to be first in the array.............

I see what you mean now. Let me see what I can come up with. My test line isn't correct. It will test the length, and then if 'TestStr' is longer, then it will test the value of the compare, which it shouldn't. I will have to rewrite that part.

Thanks.

Tim
GeneralRe: Object array question Pin
T.Willey3-Oct-06 12:01
T.Willey3-Oct-06 12:01 
AnswerRe: Object array question Pin
Guffa3-Oct-06 12:29
Guffa3-Oct-06 12:29 
GeneralRe: Object array question Pin
T.Willey3-Oct-06 13:08
T.Willey3-Oct-06 13:08 
QuestionRestore value on exit Pin
peterchen3-Oct-06 6:46
peterchen3-Oct-06 6:46 
AnswerRe: Restore value on exit Pin
Guffa3-Oct-06 9:11
Guffa3-Oct-06 9:11 
QuestionHow to call a function in another application in C#? Pin
zhyluopro3-Oct-06 6:33
zhyluopro3-Oct-06 6:33 
AnswerRe: How to call a function in another application in C#? Pin
CWIZO3-Oct-06 6:38
CWIZO3-Oct-06 6:38 
AnswerRe: How to call a function in another application in C#? Pin
Judah Gabriel Himango3-Oct-06 6:42
sponsorJudah Gabriel Himango3-Oct-06 6:42 
QuestionMath.Something -- Multiple of 10 Pin
drew.perkins3-Oct-06 6:03
drew.perkins3-Oct-06 6:03 
AnswerRe: Math.Something -- Multiple of 10 Pin
Leslie Sanford3-Oct-06 6:22
Leslie Sanford3-Oct-06 6:22 
GeneralRe: Math.Something -- Multiple of 10 Pin
drew.perkins3-Oct-06 6:40
drew.perkins3-Oct-06 6:40 
GeneralRe: Math.Something -- Multiple of 10 [modified] Pin
Alaric_3-Oct-06 7:55
professionalAlaric_3-Oct-06 7:55 
AnswerRe: Math.Something -- Multiple of 10 Pin
User 66583-Oct-06 10:28
User 66583-Oct-06 10:28 
QuestionHelp with Getting info on a running process Pin
UTRocketFan3-Oct-06 5:22
UTRocketFan3-Oct-06 5:22 
AnswerRe: Help with Getting info on a running process Pin
Michael Potter3-Oct-06 6:21
Michael Potter3-Oct-06 6:21 
GeneralRe: Help with Getting info on a running process Pin
UTRocketFan3-Oct-06 7:25
UTRocketFan3-Oct-06 7:25 
AnswerRe: Help with Getting info on a running process Pin
Nader Elshehabi3-Oct-06 6:22
Nader Elshehabi3-Oct-06 6:22 

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.