Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Colin Richardson on May 09, 2011, 01:43:13 pm
-
I'm getting a
"Could not communicate with Visio.
Please ensure that Visio 2002 or greater is installed"
I actually suspect it's due to our dodgy enterprise deployment of Visio not installing some Visio COM objects...but I thought it worth asking the question...
-
Hi Colin,
If the COM objects aren't accessible, the Visio Importer add-in will not work. Try using the following VBScript code to test for one of the required objects on your system. Save as a .VBS file on your system and run.
On Error Resume Next
Set ob = CreateObject("Visio.InvisibleApp")
If ob Is Nothing Then
MsgBox "Failed", vbCritical, "Visio COM Test"
Else
MsgBox "Success", vbInformation, "Visio COM Test"
End If
-
Yep, failed. Time to talk to our enterprise librarians to see if I can get a "real" copy of Visio
Many thanks