upgraded to 1.3.0.0 this morning. I have pointed Visual Studio to the upgraded DLL but have an issue with navigation.
- Code: Select all
For Each sport In sports
Trace.WriteLine(sport.sport)
If sport.sport = "Horse Racing - Today's Card" Then
Dim Events As Object = ba.getEvents(sport.sportId)
For Each evnt As BettingAssistantCom.Application.BfEvent In Events
If evnt.exchangeId = 1 Then
'removes australian
Trace.WriteLine(evnt.eventName)
'If Not evnt.eventname.ToString.Contains("(") Then
' 'removes(place) (RSA) (US) (AvB) and simular. But also removes (IRE) which may be an issue later
' If evnt.startTime.day = Now.Day Then
' 'make sure everything is for today
' Dim row As DataRow = races.NewRow
' row("course") = evnt.eventname
' row("raceid") = evnt.eventId
' row("starttime") = evnt.startTime
' races.Rows.Add(row)
' End If
'End If
End If
Next
End If
Next
The issue is this returns "5f Nov Stks", or worse just "To Be Placed". We seem to have lost the course name which is going to scupper me mightily.
I think the eventName used to look like "Uttox" or "Uttox (Place)", etc. Is it possible to get this back?
Art