using The COM interface

Please post any questions regarding the program here.

Moderator: 2020vision

using The COM interface

Postby Hovrin » Fri Aug 09, 2019 10:40 am

Hi All,

Checked all the Help files and searched the Forum but I can't find the answer to this one. I have just returned to BA after a couple of years doing other things and when trying to use a VBA script which I used to use before I get a COM interface error.

The code is :
If ba Is Nothing Then
Set ba = New BettingAssistantCom.ComClass <<-- The error occurs here
End If

The error is :
Runtime Error - 2147221164
Class Not Registered

I have got BettingAssistantCom referenced in the editor Tools/References anf the code used to run with no problems so has there been a change in BA that I can't find?

Thanks in anticipation.

Keith
Hovrin
 
Posts: 27
Joined: Sun Nov 11, 2007 5:48 pm

Re: using The COM interface

Postby Hovrin » Fri Aug 09, 2019 3:52 pm

OK, I sorted it by uninstalling Office 2016 64 bit and installing Office 2016 32 bit.

Does this mean that the BettingAssistantCom class is 32 bit only and cannot be used on 64 bit systems ????
Hovrin
 
Posts: 27
Joined: Sun Nov 11, 2007 5:48 pm

Re: using The COM interface

Postby osknows » Sun Aug 11, 2019 3:44 pm

You can register it for 64bit by opening the Command Prompt (Admin) and type the following two commands

i) cd C:\Windows\Microsoft.NET\Framework64\v4.0.30319
ii) regasm /codebase "c:\program files (x86)\Betting Assistant\BettingAssistantCom.dll"

The Command Prompt (Admin) is found by right clicking the Windows start button. If the powershell is showing instead see this link to restore it https://support.microsoft.com/en-us/hel ... and-prompt
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Re: using The COM interface

Postby Hovrin » Sun Aug 11, 2019 4:03 pm

Many thanks for that Osknows.

It has worked a treat. I shall make a note of it so that I can use it in future.

Keith
Hovrin
 
Posts: 27
Joined: Sun Nov 11, 2007 5:48 pm


Return to Help

Who is online

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