Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
AnswerRe: Help with p/invoking iphlpapi.dll Pin
PIEBALDconsult3-Feb-12 7:40
mvePIEBALDconsult3-Feb-12 7:40 
AnswerRe: Help with p/invoking iphlpapi.dll Pin
Luc Pattyn3-Feb-12 7:46
sitebuilderLuc Pattyn3-Feb-12 7:46 
GeneralRe: Help with p/invoking iphlpapi.dll Pin
CCodeNewbie3-Feb-12 9:45
CCodeNewbie3-Feb-12 9:45 
GeneralRe: Help with p/invoking iphlpapi.dll Pin
PIEBALDconsult3-Feb-12 11:25
mvePIEBALDconsult3-Feb-12 11:25 
AnswerRe: Help with p/invoking iphlpapi.dll Pin
Luc Pattyn3-Feb-12 15:40
sitebuilderLuc Pattyn3-Feb-12 15:40 
GeneralRe: Help with p/invoking iphlpapi.dll Pin
jschell4-Feb-12 9:47
jschell4-Feb-12 9:47 
AnswerRe: Help with p/invoking iphlpapi.dll - Going in circles Pin
CCodeNewbie5-Feb-12 2:05
CCodeNewbie5-Feb-12 2:05 
AnswerRe: Help with p/invoking iphlpapi.dll - Going in circles Pin
Luc Pattyn5-Feb-12 3:25
sitebuilderLuc Pattyn5-Feb-12 3:25 
All you'll get from me are a few pointers:

0. programs tend to do what you ask them to do, which might be different from what you think you asked for.

1. Part of your code is working fine, another part is not. You should inspect intermediate values to determine which parts are which. That is called debugging.

2. When a .NET class or method isn't doing what you expected from it, then it is time to read the documentation.

3. There are several ways to fix what is wrong, some will suggest using Regex. I'm not one of them.

4. I'm baffled by your use of List<string> connections; it seems like a fancy way of turning an array into a list, then using it as if it were an array. I'm not saying anything is wrong here, however it is peculiar.

5. BTW: if (s != "" || s != Environment.NewLine) is utterly wrong for many reasons, one of them being ReadLine() normally doesn't return something that contains a NewLine string.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

Fed up by FireFox memory leaks I switched to Opera and now CP doesn't perform its paste magic, so links will not be offered. Sorry.

GeneralRe: Help with p/invoking iphlpapi.dll - Going in circles Pin
CCodeNewbie6-Feb-12 5:57
CCodeNewbie6-Feb-12 5:57 
AnswerRe: Help with NETSTAT output Pin
Luc Pattyn6-Feb-12 6:25
sitebuilderLuc Pattyn6-Feb-12 6:25 
GeneralRe: Help with NETSTAT output Pin
CCodeNewbie6-Feb-12 9:23
CCodeNewbie6-Feb-12 9:23 
AnswerRe: Help with NETSTAT output Pin
Luc Pattyn6-Feb-12 9:55
sitebuilderLuc Pattyn6-Feb-12 9:55 
GeneralRe: Help with NETSTAT output Pin
CCodeNewbie6-Feb-12 10:35
CCodeNewbie6-Feb-12 10:35 
QuestionSerialPort.Close() hanging Pin
__John_3-Feb-12 5:13
__John_3-Feb-12 5:13 
AnswerRe: SerialPort.Close() hanging Pin
jschell3-Feb-12 10:57
jschell3-Feb-12 10:57 
GeneralRe: SerialPort.Close() hanging Pin
__John_5-Feb-12 22:20
__John_5-Feb-12 22:20 
QuestionBest method for putting a wait Pin
Subin Mavunkal2-Feb-12 21:08
Subin Mavunkal2-Feb-12 21:08 
AnswerRe: Best method for putting a wait Pin
OriginalGriff2-Feb-12 21:18
mveOriginalGriff2-Feb-12 21:18 
GeneralRe: Best method for putting a wait Pin
Subin Mavunkal2-Feb-12 21:26
Subin Mavunkal2-Feb-12 21:26 
AnswerRe: Best method for putting a wait Pin
OriginalGriff2-Feb-12 21:40
mveOriginalGriff2-Feb-12 21:40 
AnswerRe: Best method for putting a wait Pin
BobJanova3-Feb-12 4:48
BobJanova3-Feb-12 4:48 
AnswerRe: Best method for putting a wait Pin
Eddy Vluggen3-Feb-12 6:22
professionalEddy Vluggen3-Feb-12 6:22 
QuestionPlay DVD and cut a Video in WPF Pin
Alessio Elia2-Feb-12 9:46
Alessio Elia2-Feb-12 9:46 
AnswerRe: Play DVD and cut a Video in WPF Pin
Dean Oliver3-Feb-12 6:52
Dean Oliver3-Feb-12 6:52 
QuestionHow would you store this data (interview question) Pin
SledgeHammer012-Feb-12 8:28
SledgeHammer012-Feb-12 8:28 

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.