AnsweredAssumed Answered

Calling scripts from external programs

Question asked by mkrangle on Feb 2, 2012
Latest reply on Feb 28, 2012 by mknutson
Has anyone successfully called scripts from an external program?

I'm following the example in the users guide, under Using SystemVue --> Scripts --> Example Running a Script from Microsoft Excel.

I added GENESYS as a reference under Tools --> References (within Visual Basic), and I believe the fact that GENESYS was listed there indicates that the COM server is registered properly.

However, when I try to run the example code:

Sub myScript()
  Dim comServer As GENESYS.Application  ' Declare variable that references our COM server
  Set comServer = CreateObject("Genesys.Application")   ' Open an instance of the application
End Sub

I get the following error with the "CreateObject" call:

Run-time error '429':
ActiveX component can't create object

I tried to verify that the COM server was registered by running the commands
SystemVue.exe /unregserver
SystemVue.exe /regserver

However, in both cases, I get the following error:

Failed to register server.
Please make sure you have the necessary permissions.
You may need to run as administrator to register.

My account has administrator access.  Any ideas?  I'm wondering if this is a SystemVue problem, or something specific to my installation.

Thank you.