## Does XMI export work in Visio 2002 Pro?

### Does XMI export work in Visio 2002 Pro?

You would need two "\\" for the filepath directory
e.g. d:\\yeah2.xml

--
-ronnie
[MS]
This posting is provided "AS IS" with no warranties, and confers no rights.

Quote:> Does anyone know if the UML XMI export capability works in Visio 2002 Pro
> without also having Visual .Net Enterprise Architect installed?  I have
> Visio 2002 Pro (SR1), but not VS .Net E/A.  I installed the dll per:

http://www.veryComputer.com/
Quote:> tml/umlxmi.asp?frame=true and tried to access the capability with the
> following Visio VBA macro which was posted by a user elsewhere in these
> newsgroups:
> -------------------
> Public Sub ExportToXmi()

>   If pAO Is Nothing Then
>     MsgBox "Can't find add on", vbCritical
>     Exit Sub
>   End If

>   pAO.Run "/CMD=400 /XMIFILE=" + """" + "d:\YEAH2.xml" + """"

> End Sub
> --------------

> Stepping through the macro in the de* shows that pAO is set
> successfully.  pAO.Run doesn't produce any exceptions that I can detect,
but
> no output file is written.

> Thanks,

> --
> Bill Watkins
> Applications Architect
> Boeing - Houston

> "Any opinions are my own and do not represent those of Boeing."

### Does XMI export work in Visio 2002 Pro?

Ronnie --

The double-slash seems to have no effect -- I'm still not getting an ouput
file.

Bill

> You would need two "\\" for the filepath directory
> e.g. d:\\yeah2.xml

> --
> -ronnie
> [MS]
> This posting is provided "AS IS" with no warranties, and confers no
rights.

> > Does anyone know if the UML XMI export capability works in Visio 2002
Pro
> > without also having Visual .Net Enterprise Architect installed?  I have
> > Visio 2002 Pro (SR1), but not VS .Net E/A.  I installed the dll per:

http://www.veryComputer.com/

- Show quoted text -

Quote:> > tml/umlxmi.asp?frame=true and tried to access the capability with the
> > following Visio VBA macro which was posted by a user elsewhere in these
> > newsgroups:
> > -------------------
> > Public Sub ExportToXmi()

> >   Dim pAO As Addon

> >   If pAO Is Nothing Then
> >     MsgBox "Can't find add on", vbCritical
> >     Exit Sub
> >   End If

> >   pAO.Run "/CMD=400 /XMIFILE=" + """" + "d:\YEAH2.xml" + """"

> > End Sub
> > --------------

> > Stepping through the macro in the de* shows that pAO is set
> > successfully.  pAO.Run doesn't produce any exceptions that I can detect,
> but
> > no output file is written.

> > Thanks,

> > --
> > Bill Watkins
> > Applications Architect
> > Boeing - Houston

> > "Any opinions are my own and do not represent those of Boeing."

### Does XMI export work in Visio 2002 Pro?

Bill,

are you sure you have the SR1 for Visio 2002 installed? We saw that behavior
when we didn't have it.

Julio

> Ronnie --

> The double-slash seems to have no effect -- I'm still not getting an ouput
> file.

> Bill

> > You would need two "\\" for the filepath directory
> > e.g. d:\\yeah2.xml

> > --
> > -ronnie
> > [MS]
> > This posting is provided "AS IS" with no warranties, and confers no
> rights.

> > > Does anyone know if the UML XMI export capability works in Visio 2002
> Pro
> > > without also having Visual .Net Enterprise Architect installed?  I
have
> > > Visio 2002 Pro (SR1), but not VS .Net E/A.  I installed the dll per:

http://www.veryComputer.com/

- Show quoted text -

Quote:> > > tml/umlxmi.asp?frame=true and tried to access the capability with the
> > > following Visio VBA macro which was posted by a user elsewhere in
these
> > > newsgroups:
> > > -------------------
> > > Public Sub ExportToXmi()

> > >   Dim pAO As Addon

> > >   If pAO Is Nothing Then
> > >     MsgBox "Can't find add on", vbCritical
> > >     Exit Sub
> > >   End If

> > >   pAO.Run "/CMD=400 /XMIFILE=" + """" + "d:\YEAH2.xml" + """"

> > > End Sub
> > > --------------

> > > Stepping through the macro in the de* shows that pAO is set
> > > successfully.  pAO.Run doesn't produce any exceptions that I can
detect,
> > but
> > > no output file is written.

> > > Thanks,

> > > --
> > > Bill Watkins
> > > Applications Architect
> > > Boeing - Houston

> > > "Any opinions are my own and do not represent those of Boeing."

### Does XMI export work in Visio 2002 Pro?

Let me reiterate my original question, which is that I don't have Visual
Studio .Net Enterprise.  (The only .Net I have is the SDK.)

Bill

Let me reiterate that I do not

> Bill,

> are you sure you have the SR1 for Visio 2002 installed? We saw that
behavior
> when we didn't have it.

> Julio

> > Ronnie --

> > The double-slash seems to have no effect -- I'm still not getting an
ouput
> > file.

> > Bill

> > > You would need two "\\" for the filepath directory
> > > e.g. d:\\yeah2.xml

> > > --
> > > -ronnie
> > > [MS]
> > > This posting is provided "AS IS" with no warranties, and confers no
> > rights.

> > > > Does anyone know if the UML XMI export capability works in Visio
2002
> > Pro
> > > > without also having Visual .Net Enterprise Architect installed?  I
> have
> > > > Visio 2002 Pro (SR1), but not VS .Net E/A.  I installed the dll per:

http://www.veryComputer.com/

- Show quoted text -

Quote:> > > > tml/umlxmi.asp?frame=true and tried to access the capability with
the
> > > > following Visio VBA macro which was posted by a user elsewhere in
> these
> > > > newsgroups:
> > > > -------------------
> > > > Public Sub ExportToXmi()

> > > >   Dim pAO As Addon

> > > >   If pAO Is Nothing Then
> > > >     MsgBox "Can't find add on", vbCritical
> > > >     Exit Sub
> > > >   End If

> > > >   pAO.Run "/CMD=400 /XMIFILE=" + """" + "d:\YEAH2.xml" + """"

> > > > End Sub
> > > > --------------

> > > > Stepping through the macro in the de* shows that pAO is set
> > > > successfully.  pAO.Run doesn't produce any exceptions that I can
> detect,
> > > but
> > > > no output file is written.

> > > > Thanks,

> > > > --
> > > > Bill Watkins
> > > > Applications Architect
> > > > Boeing - Houston

> > > > "Any opinions are my own and do not represent those of Boeing."

### Does XMI export work in Visio 2002 Pro?

Yes, i think you might need to have some version of VS.Net installed

--
-ronnie
[MS]
This posting is provided "AS IS" with no warranties, and confers no rights.

> Let me reiterate my original question, which is that I don't have Visual
> Studio .Net Enterprise.  (The only .Net I have is the SDK.)

> Bill

> Let me reiterate that I do not

> > Bill,

> > are you sure you have the SR1 for Visio 2002 installed? We saw that
> behavior
> > when we didn't have it.

> > Julio

> > > Ronnie --

> > > The double-slash seems to have no effect -- I'm still not getting an
> ouput
> > > file.

> > > Bill

> > > > You would need two "\\" for the filepath directory
> > > > e.g. d:\\yeah2.xml

> > > > --
> > > > -ronnie
> > > > [MS]
> > > > This posting is provided "AS IS" with no warranties, and confers no
> > > rights.

> > > > > Does anyone know if the UML XMI export capability works in Visio
> 2002
> > > Pro
> > > > > without also having Visual .Net Enterprise Architect installed?  I
> > have
> > > > > Visio 2002 Pro (SR1), but not VS .Net E/A.  I installed the dll
per:

http://www.veryComputer.com/

- Show quoted text -

Quote:> > > > > tml/umlxmi.asp?frame=true and tried to access the capability with
> the
> > > > > following Visio VBA macro which was posted by a user elsewhere in
> > these
> > > > > newsgroups:
> > > > > -------------------
> > > > > Public Sub ExportToXmi()

> > > > >   Dim pAO As Addon

> > > > >   If pAO Is Nothing Then
> > > > >     MsgBox "Can't find add on", vbCritical
> > > > >     Exit Sub
> > > > >   End If

> > > > >   pAO.Run "/CMD=400 /XMIFILE=" + """" + "d:\YEAH2.xml" + """"

> > > > > End Sub
> > > > > --------------

> > > > > Stepping through the macro in the de* shows that pAO is set
> > > > > successfully.  pAO.Run doesn't produce any exceptions that I can
> > detect,
> > > > but
> > > > > no output file is written.

> > > > > Thanks,

> > > > > --
> > > > > Bill Watkins
> > > > > Applications Architect
> > > > > Boeing - Houston

> > > > > "Any opinions are my own and do not represent those of Boeing."

### Does XMI export work in Visio 2002 Pro?

Ronnie,

this is not true. We have several PCs with 2002 Pro that don't have VS.Net
installed and the macro works fine. It is the Add-in that comes with the XMI
created our own Add-in with DevStudio 6 and removed the dependency. That
also works.

Bill,

have you tried on a second PC?

Julio

> Yes, i think you might need to have some version of VS.Net installed

> --
> -ronnie
> [MS]
> This posting is provided "AS IS" with no warranties, and confers no
rights.

> > Let me reiterate my original question, which is that I don't have Visual
> > Studio .Net Enterprise.  (The only .Net I have is the SDK.)

> > Bill

> > Let me reiterate that I do not

> > > Bill,

> > > are you sure you have the SR1 for Visio 2002 installed? We saw that
> > behavior
> > > when we didn't have it.

> > > Julio

> > > > Ronnie --

> > > > The double-slash seems to have no effect -- I'm still not getting an
> > ouput
> > > > file.

> > > > Bill

> > > > > You would need two "\\" for the filepath directory
> > > > > e.g. d:\\yeah2.xml

> > > > > --
> > > > > -ronnie
> > > > > [MS]
> > > > > This posting is provided "AS IS" with no warranties, and confers
no
> > > > rights.

> > > > > > Does anyone know if the UML XMI export capability works in Visio
> > 2002
> > > > Pro
> > > > > > without also having Visual .Net Enterprise Architect installed?
I
> > > have
> > > > > > Visio 2002 Pro (SR1), but not VS .Net E/A.  I installed the dll
> per:

http://www.veryComputer.com/

- Show quoted text -

Quote:> > > > > > tml/umlxmi.asp?frame=true and tried to access the capability
with
> > the
> > > > > > following Visio VBA macro which was posted by a user elsewhere
in
> > > these
> > > > > > newsgroups:
> > > > > > -------------------
> > > > > > Public Sub ExportToXmi()

> > > > > >   Dim pAO As Addon
> > > > > >   Set pAO = Application.Addons.Item("UML Background Add-on")

> > > > > >   If pAO Is Nothing Then
> > > > > >     MsgBox "Can't find add on", vbCritical
> > > > > >     Exit Sub
> > > > > >   End If

> > > > > >   pAO.Run "/CMD=400 /XMIFILE=" + """" + "d:\YEAH2.xml" + """"

> > > > > > End Sub
> > > > > > --------------

> > > > > > Stepping through the macro in the de* shows that pAO is set
> > > > > > successfully.  pAO.Run doesn't produce any exceptions that I can
> > > detect,
> > > > > but
> > > > > > no output file is written.

> > > > > > Thanks,

> > > > > > --
> > > > > > Bill Watkins
> > > > > > Applications Architect
> > > > > > Boeing - Houston

> > > > > > "Any opinions are my own and do not represent those of Boeing."

### Does XMI export work in Visio 2002 Pro?

Thanks for the update Julio

--
-ronnie
[MS]
This posting is provided "AS IS" with no warranties, and confers no rights.

> Ronnie,

> this is not true. We have several PCs with 2002 Pro that don't have VS.Net
> installed and the macro works fine. It is the Add-in that comes with the
XMI
> created our own Add-in with DevStudio 6 and removed the dependency. That
> also works.

> Bill,

> have you tried on a second PC?

> Julio

- Show quoted text -

> > Yes, i think you might need to have some version of VS.Net installed

> > --
> > -ronnie
> > [MS]
> > This posting is provided "AS IS" with no warranties, and confers no
> rights.

> > > The "about" version reads Visio 2002 Professional SR-1 (10.0.2514)

> > > Let me reiterate my original question, which is that I don't have
Visual
> > > Studio .Net Enterprise.  (The only .Net I have is the SDK.)

> > > Bill

> > > Let me reiterate that I do not

> > > > Bill,

> > > > are you sure you have the SR1 for Visio 2002 installed? We saw that
> > > behavior
> > > > when we didn't have it.

> > > > Julio

> > > > > Ronnie --

> > > > > The double-slash seems to have no effect -- I'm still not getting
an
> > > ouput
> > > > > file.

> > > > > Bill

> > > > > > You would need two "\\" for the filepath directory
> > > > > > e.g. d:\\yeah2.xml

> > > > > > --
> > > > > > -ronnie
> > > > > > [MS]
> > > > > > This posting is provided "AS IS" with no warranties, and confers
> no
> > > > > rights.

> > > > > > > Does anyone know if the UML XMI export capability works in
Visio
> > > 2002
> > > > > Pro
> > > > > > > without also having Visual .Net Enterprise Architect
installed?
> I
> > > > have
> > > > > > > Visio 2002 Pro (SR1), but not VS .Net E/A.  I installed the
dll
> > per:

http://www.veryComputer.com/

- Show quoted text -

Quote:> > > > > > > tml/umlxmi.asp?frame=true and tried to access the capability
> with
> > > the
> > > > > > > following Visio VBA macro which was posted by a user elsewhere
> in
> > > > these
> > > > > > > newsgroups:
> > > > > > > -------------------
> > > > > > > Public Sub ExportToXmi()

> > > > > > >   Dim pAO As Addon
> > > > > > >   Set pAO = Application.Addons.Item("UML Background Add-on")

> > > > > > >   If pAO Is Nothing Then
> > > > > > >     MsgBox "Can't find add on", vbCritical
> > > > > > >     Exit Sub
> > > > > > >   End If

> > > > > > >   pAO.Run "/CMD=400 /XMIFILE=" + """" + "d:\YEAH2.xml" + """"

> > > > > > > End Sub
> > > > > > > --------------

> > > > > > > Stepping through the macro in the de* shows that pAO is
set
> > > > > > > successfully.  pAO.Run doesn't produce any exceptions that I
can
> > > > detect,
> > > > > > but
> > > > > > > no output file is written.

> > > > > > > Thanks,

> > > > > > > --
> > > > > > > Bill Watkins
> > > > > > > Applications Architect
> > > > > > > Boeing - Houston

> > > > > > > "Any opinions are my own and do not represent those of
Boeing."

Hello,

on, and placed the files in the appropriate location [2]. However, the XMI
Export option doesn't appear under Tools > Macros > Visio Extras.

The exact same files (in the same locations) work on a second PC that has
Visio for Enterprise Architects.

Thanks,
Julio

[1]
ase%2Easp%3Freleaseid%3D35645%26redirect%3Dno

[2]