Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: m2i7c9k on August 30, 2018, 06:29:22 pm
-
Hi Guys,
I have word 2016 add-in (VB2017) and it works on a local account (win10pro), but on the user with domain it shows error:
The exception thrown: 'System. Exception' in Microsoft.VisualBasic.dll
Cannot create an ActiveX component.
Imports EA
Module Module1
Sub Main()
Try
Dim vRep As EA.Repository
Dim vApp As EA.App = GetObject(, "EA.App")
vRep = vApp.Repository
Debug.Print(vRep.ConnectionString)
Catch ex As Exception
Debug.Print(ex.Message)
End Try
End Sub
So, it is a domain problem, or something different?
Thanx 4 all advice.
Mick
-
Is EA running under the same account?
Geert
-
Technically I don't know. On my private notebook, my add-in works well.
But I have a local account, and in the company, I have a domain user account, and EA is installed from
active directory group.
I thought that is maybe a problem? So I reinstalled my EA from local HDD and hoped that replace some references?
No idea how it makes it words :/