Book a Demo

Author Topic: Does the Vision MDG work with Visio 2007?  (Read 3742 times)

Colin Richardson

  • EA User
  • **
  • Posts: 52
  • Karma: +0/-0
    • View Profile
Does the Vision MDG work with Visio 2007?
« 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...

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Does the Vision MDG work with Visio 2007?
« Reply #1 on: May 09, 2011, 03:46:04 pm »
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.

Code: [Select]
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

Colin Richardson

  • EA User
  • **
  • Posts: 52
  • Karma: +0/-0
    • View Profile
Re: Does the Vision MDG work with Visio 2007?
« Reply #2 on: May 09, 2011, 03:48:45 pm »
Yep, failed.  Time to talk to our enterprise librarians to see if I can get a "real" copy of Visio

Many thanks