Hi, in the following code, I get the error "Automation Error" when the execution reaches the line Set objInterface...
Object Intrf is installed on a server on the network. What are possible reasons for that error?Code:Private Sub Command1_Click()
Dim objInterface As Object
Dim objServer As Object
On Error GoTo cuError
Set objInterface = CreateObject("Intrf.Interface_Server")
Set objServer = objInterface.objGetClassInstance("Class1")
MsgBox objServer.showWindow
Set objInterface = Nothing
Set objServer = Nothing
On Error GoTo 0
Exit Sub
cuError:
MsgBox Err.Description
Set objInterface = Nothing
Set objServer = Nothing
Exit Sub
End Sub
Thanks in advance
