I have just tried configuring BA to use the COM interface to Excel and am having problems. I have enabled the COM server on 127.0.0.1 port 8000 and have used the netstat command to verify that the COM server port is available and when I start BA, something starts listening on port 8000.
So far so good
But when I try and use the test_BA_COM.xls script, I get a runtime error 429 'ActiveX component can't create object' which occurs at the following code snippet i.e. when trying to create the COM object
- Code: Select all
Private Sub CommandButton1_Click()
If ba Is Nothing Then
Set ba = New BettingAssistantCom.ComClass
End If
I have tried manually adding in the COM reference to the BettingAssistantCom.dll file, but this comes back with an error about the DLL not being a valid microsoft office add-in
I am using MS Office 2010 64-bit on a 64-bit Windows 7 Ultimate machine
My thoughts are that this is either an issue with using 64-bit version of office (and/or Windows) or else perhaps there are some extra security features in office 2010 that prevent me from using the add-in. e.g. the add-in is not digitally signed
Any ideas
Chris