Visitor Messages

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • OzDownUnder
    Junior Member
    • Jun 2012
    • 0

    #1

    Hi Mumbles, Thank you for the great tutorial. Been thinking of doing something like this for a long time and since i have got back into programming with VB2010 its been a great help to get me started. I am at the stage where in the PlaceBetReq i can load the header and redim the bets but then i don"t know the syntax to load the parameters of size,selectid etc. If i give a value to the size i get an error saying Object reference not set to an instance of an object.
    Dim size As Double
    Dim pB As New BFUK.PlaceBetsReq
    Dim pba As BFUK.PlaceBetsResp
    With pB
    .header = oHeaderUK()
    ReDim .bets(2)
    With .bets(0).size = 5

    and NullReferenceException was unhandled pointing to the 5

    This is preventing me for populating the parameters of .bets

    Can you help me pls. and thank you again for the tutorial was much appreciated

    Neil
Working...
X