Re: RUNADDON Language problem
From: Bill K. [MSFT] (billken_at_online.microsoft.com)
Date: 07/06/04
- Next message: Mark Nelson [MS]: "Re: Dramatic Increase in File Size updating a word doc with Visio"
- Previous message: JCB: "Distribute shapes along a curved line"
- In reply to: Blackend: "RUNADDON Language problem"
- Next in thread: Blackend: "Re: RUNADDON Language problem"
- Reply: Blackend: "Re: RUNADDON Language problem"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 6 Jul 2004 15:42:16 -0700
Use the universal name of the addon, not the local name.
To find the universal name, click Tools > Macros > Visual Basic Editor and
type this in the immediate window:
?Application.Addons("Database Wizard").NameU
=DBWiz
To list the names of all addons, run this macro:
Sub ListAddons
Dim oAddon As Visio.Addon
For Each oAddon In Application.Addons
Debug.Print oAddon.Name, oAddon.NameU
Next oAddon
End Sub
Hope this helps,
--
Bill K.
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
"Blackend" <Blackend@discussions.microsoft.com> wrote in message
news:F15F1092-4D81-4447-A51E-B3648AEB469A@microsoft.com...
> I use the RUNADDON command in my Visio drawing.
>
> My problem is that the users has different language versions of viso. Some
English, some Danish.
>
> Problem is that the RUNADDON("Select database record") is called something
else in Danish, something like RUNADDON("Vælg database tabel")
>
> The drawing runaddon macros simply doesn't work, if it's not written for
the correct language.
>
> Is there another way of doing if, like using VBA, and check for the
language setup, and then use the right runaddon command ?
>
> Is there a 3. way of doing it ?
>
> Anybody who has had the same trouble ?
>
> Some source code and step by step guide will be nice, I'm pretty new to
Visio.
>
>
> BTW - Is there a list of all addons, installed with Visio ?
- Next message: Mark Nelson [MS]: "Re: Dramatic Increase in File Size updating a word doc with Visio"
- Previous message: JCB: "Distribute shapes along a curved line"
- In reply to: Blackend: "RUNADDON Language problem"
- Next in thread: Blackend: "Re: RUNADDON Language problem"
- Reply: Blackend: "Re: RUNADDON Language problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|