'returnCode' on type 'UpdateBetResult'

Please post any questions regarding the program here.

Moderator: 2020vision

'returnCode' on type 'UpdateBetResult'

Postby HiArt99 » Thu Jul 28, 2016 2:30 pm

Hi,

here is my code, which has been running fine for several months, which now falls over with "Public member 'returnCode' on type 'UpdateBetResult' not found".

Anybody any ideas what's gone wrong?

Code: Select all
Public WithEvents baIR As New BettingAssistantCom.Application.ComClass   
Public WithEvents baUK As New BettingAssistantCom.Application.ComClass 

 ....

Dim updatedBet As BettingAssistantCom.Application.UpdateBetResult = Nothing

If row.Item(races.ukorire) = "UK" Then
    updatedBet = baUK.updateBet(ref:=betz.ref, _
        oldOdds:=betz.odds, newOdds:=odds, _
        oldStake:=betz.stake, newStake:=betz.stake) ' <<< code fails here <<<
Else
    updatedBet = baIR.updateBet(ref:=betz.ref, _
        oldOdds:=betz.odds, newOdds:=odds, _
        oldStake:=betz.stake, newStake:=betz.stake)
End If



Thanks

Art
If I get lost in thought it is because it is unfamiliar territory.
HiArt99
 
Posts: 66
Joined: Tue Aug 25, 2009 7:28 am

Return to Help

Who is online

Users browsing this forum: No registered users and 48 guests

Sports betting software from Gruss Software


The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.

Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.

Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.

He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.

We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.