Click here to Skip to main content
15,884,836 members
Home / Discussions / C#
   

C#

 
AnswerRe: XML load into a variable or file Pin
jschell30-Jan-14 8:31
jschell30-Jan-14 8:31 
GeneralHow to find IPv4 NOT IPv6 C# [Moved] Pin
Lester Wagner29-Jan-14 18:16
Lester Wagner29-Jan-14 18:16 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
_Maxxx_29-Jan-14 18:31
professional_Maxxx_29-Jan-14 18:31 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
Lester Wagner29-Jan-14 18:53
Lester Wagner29-Jan-14 18:53 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
walterhevedeich29-Jan-14 19:14
professionalwalterhevedeich29-Jan-14 19:14 
JokeRe: How to find IPv4 NOT IPv6 C# Pin
walterhevedeich29-Jan-14 19:16
professionalwalterhevedeich29-Jan-14 19:16 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
ZurdoDev30-Jan-14 1:50
professionalZurdoDev30-Jan-14 1:50 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
JimmyRopes29-Jan-14 19:20
professionalJimmyRopes29-Jan-14 19:20 
As Maxxxxx said the proper place to ask this is in quick questions but since you are new to CodeProject I will answer your question here.

You are replacing the test in label2 with every iteration of the loop so you are only seeing the last entry.

Replace the label2 with a listbox and define an integer i = 0 outside of your loop.

listBox1.Items.Insert(i++, "IP Address: " + address);

This is one free pass. After this expect to be criticized for asking programming questions here.

The report of my death was an exaggeration - Mark Twain

Simply Elegant Designs JimmyRopes Designs
Think inside the box! ProActive Secure Systems

I'm on-line therefore I am.
JimmyRopes



GeneralRe: How to find IPv4 NOT IPv6 C# Pin
Shameel29-Jan-14 19:33
professionalShameel29-Jan-14 19:33 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
Lester Wagner29-Jan-14 19:58
Lester Wagner29-Jan-14 19:58 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
JimmyRopes29-Jan-14 21:35
professionalJimmyRopes29-Jan-14 21:35 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
Lester Wagner29-Jan-14 21:55
Lester Wagner29-Jan-14 21:55 
JokeRe: How to find IPv4 NOT IPv6 C# Pin
Joan M29-Jan-14 19:21
professionalJoan M29-Jan-14 19:21 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
Jim Meadors29-Jan-14 19:29
Jim Meadors29-Jan-14 19:29 
JokeRe: How to find IPv4 NOT IPv6 C# Pin
Joan M29-Jan-14 19:31
professionalJoan M29-Jan-14 19:31 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
Jim Meadors29-Jan-14 19:37
Jim Meadors29-Jan-14 19:37 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
Worried Brown Eyes29-Jan-14 21:16
Worried Brown Eyes29-Jan-14 21:16 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
User 5924129-Jan-14 19:38
User 5924129-Jan-14 19:38 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
TheGreatAndPowerfulOz29-Jan-14 20:39
TheGreatAndPowerfulOz29-Jan-14 20:39 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
Rage29-Jan-14 21:26
professionalRage29-Jan-14 21:26 
GeneralRe: How to find IPv4 NOT IPv6 C# Pin
TheGreatAndPowerfulOz30-Jan-14 3:14
TheGreatAndPowerfulOz30-Jan-14 3:14 
GeneralRe: How to find IPv4 NOT IPv6 C# [Moved] Pin
Dave Kreskowiak30-Jan-14 3:25
mveDave Kreskowiak30-Jan-14 3:25 
QuestionHow to change skins in design mode RibbonSimplePad of Developer Express. NET v8.3? Pin
Member 245846729-Jan-14 17:46
Member 245846729-Jan-14 17:46 
AnswerRe: How to change skins in design mode RibbonSimplePad of Developer Express. NET v8.3? Pin
Shameel29-Jan-14 20:33
professionalShameel29-Jan-14 20:33 
QuestionHow to bind a dataset to a WPF richtextbox? Pin
fsunole0329-Jan-14 9:44
fsunole0329-Jan-14 9:44 

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.