BetSelection.cc

Public software => Community Software => Topic started by: Pockets on December 31, 2013, 03:40:44 AM

Title: Help on VB.net
Post by: Pockets on December 31, 2013, 03:40:44 AM
Friends,

I know there are some programmers out here. Need a little help.

am learning vb.net now. I have started writing a small programme that will capture numbers in bv casino and then display some triggers to assist my betting. I am not able to figure out how to recognize numbers that comes up on the screen and how to wait for  numbers to change/spin to complete.

Any pointers in solving this puzzle of mine will be helpful. It must be a cakewalk for many of you.
Title: Re: Help on VB.net
Post by: VLS on December 31, 2013, 05:15:38 AM
OK, some choice from me at this very moment in time. Pick one  :D :

a) I can teach you how to interact with our framework so you don't have to do all the code, just enjoy receiving the number and taking it from there.

b) I can give you pointers on how to create a custom optical reader. I'm not going to write the custom code for you though. As Normy can testify, the casinos must be faced with different algorithms from time to time.

Your choice, I'm fine either way!
Title: Re: Help on VB.net
Post by: Pockets on December 31, 2013, 08:18:21 AM
Quote from: VLS on December 31, 2013, 05:15:38 AM
OK, some choice from me at this very moment in time. Pick one  :D :

a) I can teach you how to interact with our framework so you don't have to do all the code, just enjoy receiving the number and taking it from there.

b) I can give you pointers on how to create a custom optical reader. I'm not going to write the custom code for you though. As Normy can testify, the casinos must be faced with different algorithms from time to time.

Your choice, I'm fine either way!
Victor, that is very kind of you.  I will prefer point a. 


Title: Re: Help on VB.net
Post by: VLS on January 08, 2014, 10:58:55 AM
Quote from: Pockets on December 31, 2013, 08:18:21 AMI will prefer point a.

GREAT.

For our release date on the 15th, I'm building a JustBASIC (http://justbasic.com) connector module for Max/Esoito which might be able to connect to Visual Basic too.


Interoperability with other programming languages is key for our software's success.
Title: Re: Help on VB.net
Post by: VLS on January 11, 2014, 01:56:51 AM
Well, after snooping around it's clear by now JustBASIC is a different beast, apart from VB.NET; so, which visual studio version do you use? There are still some days before launch day and there are several VB.NET users on the forum who are going to benefit from this connector  :nod: :thumbsup:

I currently have availability of VB.NET from Visual Studio 2012 (Win32) and VB.NET 2008 from Mono (Linux), how about you?
Title: Re: Help on VB.net
Post by: Pockets on January 11, 2014, 02:43:58 AM
using 2012
Title: Re: Help on VB.net
Post by: Stepkevh on January 11, 2014, 09:09:03 AM
yes 2012 version :-)
Title: Re: Help on VB.net
Post by: VLS on January 15, 2014, 02:47:54 PM
Guys can you please replicate this form in your VB.NET?

[attachimg=1]

Just a textbox with the word "input" in it.

Kindly attach it to your post. Thank you.
Title: Re: Help on VB.net
Post by: Stepkevh on January 15, 2014, 04:08:15 PM
[attachimg=2]You mean this ??
Title: Re: Help on VB.net
Post by: VLS on January 15, 2014, 04:30:41 PM
Thanks Stef, I meant attach the resulting .exe program (zipped  O:-) )

You'll notice connecting to the framework this way is really easy!
Title: Re: Help on VB.net
Post by: Stepkevh on January 15, 2014, 05:04:43 PM
do i need to create a textbox alone with the tekst "input" in it ?
or do i need to connect to framework or something.
sorry for the question, but it has been a while that i was here  :)
Title: Re: Help on VB.net
Post by: VLS on January 15, 2014, 05:27:47 PM
Hi, just like you have it it's OK.

The idea being I do the ground work so you guys have it easy.




Look at this code:

Code (vbnet) Select
Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged

        ' TextBox1.Text = Latest framework input ...you can do as you please with it.
        Me.Text = TextBox1.Text

End Sub


You simply use the "TextChanged" event to obtain input.

You don't have to do anything else on your side.
Title: Re: Help on VB.net
Post by: Stepkevh on January 15, 2014, 05:56:35 PM
Here's the exe.
Needed to rar it because post didn't accept exe :-)

edit : didn't see that you've said (zipped)  :))
Title: Re: Help on VB.net
Post by: VLS on January 15, 2014, 07:11:24 PM
You can experience the connector in action by using this attached archive:

[attachmini=1]

(Video to illustrate usage to follow)
Title: Re: Help on VB.net
Post by: VLS on January 15, 2014, 07:17:36 PM
http://www.youtube.com/watch?v=7vftKmfP1Hg (http://www.youtube.com/watch?v=7vftKmfP1Hg)


As you can see, there's no special modification required on the program to interact with the framework when using the TextBox connector.