open/close ba with com

Please post any questions regarding the program here.

Moderator: 2020vision

open/close ba with com

Postby alrodopial » Thu Feb 25, 2016 5:46 pm

Is it possible to close a running ba from excel using com?
if more than one ba instance exists?

open instances?
alrodopial
 
Posts: 1386
Joined: Wed Dec 06, 2006 9:59 pm

Re: open/close ba with com

Postby negapo » Fri Feb 26, 2016 6:06 pm

Hi alrodopial

You want to close the communication between Excel/VBA and BA or you want to actually close BA (shut the program) from code.
The COM is a library that exposes Subs/Functions etc. from the program, i doubt that Gary exposed the Close routine but even if he didn't it's fairly simple to close a program (or all instances) from VBA. You would loop all the programs that are open looking for the name of BA and then when found you would close it with a shell command. I can show you some examples if that helps.

PS: everything is running on my side now.
negapo
 
Posts: 179
Joined: Thu Mar 19, 2009 1:17 pm
Location: Porto, Portugal

Re: open/close ba with com

Postby alrodopial » Sat Feb 27, 2016 12:31 pm

Just started searching how to automate opening ba/linking to excel and closing ba/saving excel files
Best done at specific times of day
Another way is let ba/excel always open, update their lists/selections by vba and auto save any excel files
The second one looks easier to me
I will let you know if I need any further help/ideas
So everything is ok?
alrodopial
 
Posts: 1386
Joined: Wed Dec 06, 2006 9:59 pm


Return to Help

Who is online

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