Get event countrycode with ComClass

Please post any questions regarding the program here.

Moderator: 2020vision

Get event countrycode with ComClass

Postby MollyMoo » Sat Jun 29, 2024 9:02 am

Hi All. I hope someone can help. I'm trying to retrieve the countryCode value of an event using Gruss ComClass. Is this possible?

I've tried:
Code: Select all
Dim country As String
country = ba.countryCode
country = ba.GetCountryCode


Neither seems to work. The first gives an error message, the second an empty string.

TIA.
MollyMoo
 
Posts: 104
Joined: Mon Sep 11, 2017 9:31 am
Location: UK

Re: Get event countrycode with ComClass

Postby GaryRussell » Sat Jun 29, 2024 10:27 am

Sorry there isn't currently a country code property in the COM interface. If you are using the link to Excel feature though you can find the full path to the market in cell F1 which should contain the country. eg. Horse Racing\GB\Newcastle 29th Jun
User avatar
GaryRussell
Site Admin
 
Posts: 9867
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Re: Get event countrycode with ComClass

Postby MollyMoo » Sat Jun 29, 2024 1:33 pm

Thanks Gary.
MollyMoo
 
Posts: 104
Joined: Mon Sep 11, 2017 9:31 am
Location: UK


Return to Help

Who is online

Users browsing this forum: No registered users and 34 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.