CBL Stat Extraction [VB]

Posts 16–30 of 49 · Page 2 of 4
Damn unable to edit first post, anyway I made a small type in some of my notes...not a big deal but see if you can find it
where do u save this code can u help me out please?
Quote Originally Posted by sundin View Post
where do u save this code can u help me out please?
Clearly you're just going to leech it then, figure it out. The Title says it's for VB...so try that.
If I only knew how to work with html/regex in VB8, maybe i could somehow get this code to work..I tried learning it but quit after about 4 days..Lol
Quote Originally Posted by HiddenoO View Post
If I only knew how to work with html/regex in VB8, maybe i could somehow get this code to work..I tried learning it but quit after about 4 days..Lol
Well "as-is" you can just compile it and it works with a DGV, but yeah the RegEx isn't *too* complex. Just look up Lookahead and lookbehind and just generally browse through this tut:

Regular-Expressions.info - Regex Tutorial, Examples and Reference - Regexp Patterns

And you should get it no problem. The main pattern might seem a bit weird with the massive spaces, but for some reason that was just how the html was structured /

@ajvpot I haven't made a CBL checker, I don't really play CA anyway. I just did this as a favor to Bombsaway707.
Quote Originally Posted by HiddenoO View Post
If I only knew how to work with html/regex in VB8, maybe i could somehow get this code to work..I tried learning it but quit after about 4 days..Lol


Never Quit .
Quote Originally Posted by Jason View Post


Well "as-is" you can just compile it and it works with a DGV, but yeah the RegEx isn't *too* complex. Just look up Lookahead and lookbehind and just generally browse through this tut:

Regular-Expressions.info - Regex Tutorial, Examples and Reference - Regexp Patterns

And you should get it no problem. The main pattern might seem a bit weird with the massive spaces, but for some reason that was just how the html was structured /

@ajvpot I haven't made a CBL checker, I don't really play CA anyway. I just did this as a favor to Bombsaway707.
I see you used a date grid in it, but imo i think it would be better for it to be under labels. Might be more to code, but it's well worth it.
Quote Originally Posted by HiddenoO View Post
I see you used a date grid in it, but imo i think it would be better for it to be under labels. Might be more to code, but it's well worth it.
Wut? Labels?

And it's a DataGridView....not a date grid
Quote Originally Posted by Jason View Post


Wut? Labels?

And it's a DataGridView....not a date grid
..That was a typo, I meant Data Grid..and what i mean by labels is instead of having it under the data grid make the stat extractions into different labels
Like having stats extracted into different labels on the form.
Quote Originally Posted by HiddenoO View Post
..That was a typo, I meant Data Grid..and what i mean by labels is instead of having it under the data grid make the stat extractions into different labels
Like having stats extracted into different labels on the form.
Well, it is possible, but would be a pain in the ass. Not difficult, just annoying.
Quote Originally Posted by Jason View Post


Well, it is possible, but would be a pain in the ass. Not difficult, just annoying.
Yeah, I know. I'll probably try and work on that if i can ever get my VB registered..They have an error atm with their product registering page..I'm so lonely without it.

This is so much > then my code from last year, you should make a checker with it if you dont have one. (Im to lazy to look.)
If you've already created the correct amount of labels it's easy, but I was thinking of a more dynamic option...which would mean determining the location of where to put the next label, still not overly difficult, just a pain in my ass.

if they're already created, you can just loop though the labels and assign a "stat" to each.
Compile it and release it
Posts 16–30 of 49 · Page 2 of 4
This thread is closed for replies.

Tags for this Thread

None

Talk with us