Click here to Skip to main content
15,899,679 members
Home / Discussions / C#
   

C#

 
QuestionHow can I get Web Client IP address Pin
stevenhe29-Jul-04 15:23
stevenhe29-Jul-04 15:23 
AnswerRe: How can I get Web Client IP address Pin
Andy Brummer29-Jul-04 15:44
sitebuilderAndy Brummer29-Jul-04 15:44 
GeneralRe: How can I get Web Client IP address Pin
stevenhe29-Jul-04 16:02
stevenhe29-Jul-04 16:02 
GeneralWM_NCLBUTTONUP Pin
Guinness4Strength29-Jul-04 12:34
Guinness4Strength29-Jul-04 12:34 
GeneralRe: WM_NCLBUTTONUP Pin
Nick Parker29-Jul-04 17:38
protectorNick Parker29-Jul-04 17:38 
GeneralRe: WM_NCLBUTTONUP Pin
Guinness4Strength30-Jul-04 3:29
Guinness4Strength30-Jul-04 3:29 
GeneralRe: WM_NCLBUTTONUP Pin
Heath Stewart30-Jul-04 4:37
protectorHeath Stewart30-Jul-04 4:37 
GeneralArrayList Help Needed for Newbie... Pin
gman4429-Jul-04 11:32
gman4429-Jul-04 11:32 
I'm aware of how to use arrays similar to the following example.

static void Main()
{
ArrayList list = new ArrayList();
list.Add(45);
list.Add(87);
list.Add(12);
foreach(int num in list)
{
Console.WriteLine(num);
}
}


However, I'm trying to capture data strings from a log server and parse them in memory rather than FileStreaming them to a log.txt file and parsing later.

I can view the ArrayList activity with a listBox and it seems to me it only holds one (1) string at a time. I need a growing list in memory that I can sort and parse. Here's my failing setup so far. Help...... (C#)


str = System.Text.Encoding.ASCII.GetString(data); //data is a Byte[]
Al = new ArrayList(1024);
Al.Add(str);

foreach(string Line in Al)
{
listBox1.Items.Add(Line.ToString());
}



// Knowledge is a one way street, Wisdom is looking both ways before crossing Smile | :)
GeneralRe: ArrayList Help Needed for Newbie... Pin
Christian Graus29-Jul-04 11:52
protectorChristian Graus29-Jul-04 11:52 
GeneralRe: ArrayList Help Needed for Newbie... Pin
leppie29-Jul-04 21:41
leppie29-Jul-04 21:41 
GeneralWildcard filename pattern matching for c# Pin
RobC.29-Jul-04 11:29
RobC.29-Jul-04 11:29 
GeneralRe: Wildcard filename pattern matching for c# Pin
Nick Parker29-Jul-04 12:37
protectorNick Parker29-Jul-04 12:37 
GeneralSetting default button in a user control Pin
Member 117376029-Jul-04 11:18
Member 117376029-Jul-04 11:18 
GeneralRe: Setting default button in a user control Pin
Member 117376030-Jul-04 2:20
Member 117376030-Jul-04 2:20 
GeneralRe: Setting default button in a user control Pin
Heath Stewart30-Jul-04 4:33
protectorHeath Stewart30-Jul-04 4:33 
GeneralRe: Setting default button in a user control Pin
Member 117376030-Jul-04 4:50
Member 117376030-Jul-04 4:50 
Generalmp3 player Pin
Member 80940929-Jul-04 11:04
Member 80940929-Jul-04 11:04 
GeneralRe: mp3 player Pin
Nick Parker29-Jul-04 11:36
protectorNick Parker29-Jul-04 11:36 
GeneralRe: mp3 player Pin
crushinghellhammer29-Jul-04 12:17
crushinghellhammer29-Jul-04 12:17 
QuestionDrawing twice causes exception? Pin
Pain_Elemental29-Jul-04 9:34
Pain_Elemental29-Jul-04 9:34 
AnswerRe: Drawing twice causes exception? Pin
Heath Stewart29-Jul-04 9:42
protectorHeath Stewart29-Jul-04 9:42 
GeneralRe: Drawing twice causes exception? Pin
Pain_Elemental29-Jul-04 20:26
Pain_Elemental29-Jul-04 20:26 
GeneralRe: Drawing twice causes exception? Pin
Heath Stewart30-Jul-04 3:13
protectorHeath Stewart30-Jul-04 3:13 
GeneralRe: Drawing twice causes exception? Pin
Pain_Elemental30-Jul-04 3:34
Pain_Elemental30-Jul-04 3:34 
GeneralRe: Drawing twice causes exception? Pin
Pain_Elemental30-Jul-04 10:37
Pain_Elemental30-Jul-04 10:37 

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.