Problem with COM

Please post any questions regarding the program here.

Moderator: 2020vision

Problem with COM

Postby negapo » Tue Oct 05, 2010 12:38 pm

Hi to all,

I'm trying to use for the first time the COM server. I'm testing it on Access because I'm more used to it then Excel. The problem I'm facing is that the first time i run a function or some code it works fine but the second time it prompts an error message (in BA). Here is what I'm testing:

Code: Select all
Dim ba As Object
Dim bal As Object
   
    If ba Is Nothing Then Set ba = New BettingAssistantCom.ComClass
    Set bal = ba.getBalance(1)
    MsgBox (bal.availBalance)
    MsgBox (bal.Balance)
    MsgBox (bal.exposure)
    MsgBox (ba.refreshrate)


The error is part on my OS language and it's the following:

Title: BettingAssistantCom
Problem initialising BA COM: System.Net.SocketException:
(In my OS language) Normally it is only permitted to use one socket
Then the error message goes on for some lines.

I don't know if I'm doing something wrong or if it some error with BA. Can anyone please help or shade some light. Thanks in advance.
Im using windows 7 and version 1.1.0.66x18
negapo
 
Posts: 179
Joined: Thu Mar 19, 2009 1:17 pm
Location: Porto, Portugal

Postby GaryRussell » Tue Oct 05, 2010 2:32 pm

Uninstall and re-install from http://www.gruss-software.co.uk/Betting ... _Beta2.msi and let me know if you still have the problem.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby negapo » Tue Oct 05, 2010 2:51 pm

Gary,
Thanks for the fast support, the problem is solved.
Regards.
negapo
 
Posts: 179
Joined: Thu Mar 19, 2009 1:17 pm
Location: Porto, Portugal


Return to Help

Who is online

Users browsing this forum: Google [Bot] and 38 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.