Click here to Skip to main content
15,919,613 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to "catch a delegate" Pin
Ennis Ray Lynch, Jr.24-Aug-06 10:26
Ennis Ray Lynch, Jr.24-Aug-06 10:26 
GeneralRe: how to "catch a delegate" Pin
Robert Rohde24-Aug-06 23:27
Robert Rohde24-Aug-06 23:27 
GeneralRe: how to "catch a delegate" Pin
ezazazel25-Aug-06 3:33
ezazazel25-Aug-06 3:33 
QuestionGenerics contraints "or?" Pin
Ista24-Aug-06 7:36
Ista24-Aug-06 7:36 
AnswerRe: Generics contraints "or?" Pin
Richard Deeming24-Aug-06 8:41
mveRichard Deeming24-Aug-06 8:41 
AnswerCreate a higher interface Pin
Ennis Ray Lynch, Jr.24-Aug-06 9:13
Ennis Ray Lynch, Jr.24-Aug-06 9:13 
AnswerRe: Generics contraints "or?" Pin
Judah Gabriel Himango24-Aug-06 10:14
sponsorJudah Gabriel Himango24-Aug-06 10:14 
Questionhtml file parsing help Pin
pokabot24-Aug-06 6:39
pokabot24-Aug-06 6:39 
Hi
could any one show me the best way to extract the info i need from the file below. Basicly the files are hand historys from a poker site and i would like to keep track of how often a player calls checks folds and so on. The file is in html (hoping it posts ok) , or if any one could tell me if it would be better to convert the file to xml (if possible) and extract the data that way?
well here is a short part of the file .....




IdxDate/TimeTable NameHand IDStakes
19[Jul 31 16:04:10]Casanova10474702-12327$0.25/$0.50
18[Jul 31 16:03:20]Casanova10474702-12326$0.25/$0.50
17[Jul 31 16:02:32]Casanova10474702-12325$0.25/$0.50
16[Jul 31 16:01:45]Casanova10474702-12324$0.25/$0.50
15[Jul 31 16:00:43]Casanova10474702-12323$0.25/$0.50
14[Jul 31 15:59:13]Casanova10474702-12322$0.25/$0.50
13[Jul 31 15:58:00]Casanova10474702-12321$0.25/$0.50
12[Jul 31 15:57:31]Casanova10474702-12320$0.25/$0.50
11[Jul 31 15:56:44]Casanova10474702-12319$0.25/$0.50
10[Jul 31 15:56:22]Casanova10474702-12318$0.25/$0.50
9[Jul 31 15:54:56]Casanova10474702-12317$0.25/$0.50
8[Jul 31 15:53:43]Casanova10474702-12316$0.25/$0.50
7[Jul 31 15:52:18]Casanova10474702-12315$0.25/$0.50
6[Jul 31 15:50:59]Casanova10474702-12314$0.25/$0.50
5[Jul 31 15:49:37]Casanova10474702-12313$0.25/$0.50
4[Jul 31 15:48:10]Casanova10474702-12312$0.25/$0.50
3[Jul 31 15:47:20]Casanova10474702-12311$0.25/$0.50
2[Jul 31 15:46:31]Casanova10474702-12310$0.25/$0.50
1[Jul 31 15:45:09]Casanova10474702-12309$0.25/$0.50





Real Money Ring Game
Table NameHand IDGameStakes
Casanova10474702-12327Holdem Limit$0.25/$0.50
[Jul 31 16:03:20] : Hand Start.
[Jul 31 16:03:20] : Seat 1 : davebass has $31.99
[Jul 31 16:03:20] : Seat 2 : PoKaBoT has $15.21
[Jul 31 16:03:20] : Seat 4 : WC2006 has $9.82
[Jul 31 16:03:20] : Seat 6 : xbambamx has $8.02
[Jul 31 16:03:20] : Seat 8 : drurylane has $23.05
[Jul 31 16:03:20] : Seat 9 : modeselect has $3.34
[Jul 31 16:03:20] : xbambamx is the dealer.
[Jul 31 16:03:21] : drurylane posted small blind.
[Jul 31 16:03:21] : modeselect posted big blind.
[Jul 31 16:03:21] : Game [12327] started with 6 players.
[Jul 31 16:03:21] : Dealing Hole Cards.
[Jul 31 16:03:21] : Seat 2 : PoKaBoT has 5s Ts
[Jul 31 16:03:25] : davebass folded.
[Jul 31 16:03:26] : PoKaBoT folded.
[Jul 31 16:03:29] : WC2006 called $0.25
[Jul 31 16:03:32] : xbambamx folded.
[Jul 31 16:03:34] : drurylane called $0.13
[Jul 31 16:03:35] : modeselect checked.
[Jul 31 16:03:36] : Dealing flop.
[Jul 31 16:03:36] : Board cards [As Kc 4d]
[Jul 31 16:03:38] : drurylane checked.
[Jul 31 16:03:38] : modeselect checked.
[Jul 31 16:03:42] : WC2006 checked.
[Jul 31 16:03:42] : Dealing turn.
[Jul 31 16:03:42] : Board cards [As Kc 4d 8s]
[Jul 31 16:03:45] : drurylane bet $0.50
[Jul 31 16:03:45] : modeselect folded.
[Jul 31 16:03:52] : WC2006 called $0.50 and raised $0.50
[Jul 31 16:03:53] : drurylane called $0.50
[Jul 31 16:03:53] : Dealing river.
[Jul 31 16:03:53] : Board cards [As Kc 4d 8s Js]
[Jul 31 16:03:56] : drurylane checked.
[Jul 31 16:03:57] : WC2006 bet $0.50
[Jul 31 16:03:58] : drurylane called $0.50
[Jul 31 16:03:58] : Showdown!
[Jul 31 16:04:00] : Seat 4 : WC2006 has 8d Ac
[Jul 31 16:04:00] : WC2006 has Two Pair: Aces and 8s
[Jul 31 16:04:01] : WC2006 wins $3.57 with Two Pair: Aces and 8s
[Jul 31 16:04:10] : Hand is over.


Table of contents



if i havent been very clear or this file has posted terribly and you would like to help i could always email a file to you to take a look @ ... many thanx
The top part of the file which looks extreemly messy in the post is not all that important its just the hand numbers , the main part is where you can see "Hand Start" .

AnswerRe: html file parsing help Pin
Dustin Metzgar24-Aug-06 10:14
Dustin Metzgar24-Aug-06 10:14 
AnswerRe: html file parsing help Pin
coolestCoder24-Aug-06 20:52
coolestCoder24-Aug-06 20:52 
QuestionListView.Items.Add(....) problem Pin
thunderbirdje24-Aug-06 6:20
thunderbirdje24-Aug-06 6:20 
AnswerRe: ListView.Items.Add(....) problem Pin
Richard Deeming24-Aug-06 8:50
mveRichard Deeming24-Aug-06 8:50 
GeneralRe: ListView.Items.Add(....) problem Pin
thunderbirdje25-Aug-06 4:07
thunderbirdje25-Aug-06 4:07 
QuestionCompiling a program through Source Code of another Program Pin
zaigham_chaudhry24-Aug-06 6:06
zaigham_chaudhry24-Aug-06 6:06 
AnswerRe: Compiling a program through Source Code of another Program Pin
Dustin Metzgar24-Aug-06 10:11
Dustin Metzgar24-Aug-06 10:11 
Questiona little problem with MenuItem, Pin
vedmack24-Aug-06 5:23
vedmack24-Aug-06 5:23 
AnswerRe: a little problem with MenuItem, Pin
MoustafaS24-Aug-06 6:26
MoustafaS24-Aug-06 6:26 
GeneralRe: a little problem with MenuItem, Pin
vedmack24-Aug-06 20:34
vedmack24-Aug-06 20:34 
QuestionC#.net with system process Pin
xiaowenjie24-Aug-06 5:17
xiaowenjie24-Aug-06 5:17 
AnswerRe: C#.net with system process Pin
Judah Gabriel Himango24-Aug-06 5:41
sponsorJudah Gabriel Himango24-Aug-06 5:41 
GeneralRe: C#.net with system process Pin
thunderbirdje24-Aug-06 6:30
thunderbirdje24-Aug-06 6:30 
Questionone to many class association Pin
chacimulch24-Aug-06 4:57
chacimulch24-Aug-06 4:57 
AnswerRe: one to many class association Pin
beatles169224-Aug-06 5:26
beatles169224-Aug-06 5:26 
Questionnot working still. Re: one to many class association [modified] Pin
chacimulch24-Aug-06 8:43
chacimulch24-Aug-06 8:43 
AnswerRe: not working still. Re: one to many class association Pin
beatles169224-Aug-06 21:05
beatles169224-Aug-06 21:05 

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.