Re: RUNADDON Language problem

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Bill K. [MSFT] (billken_at_online.microsoft.com)
Date: 07/06/04


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 ?


Relevant Pages

  • Re: The War On HLA
    ... If you're assuming that macros' only purpose is for "in-line" functions, ... languages demonstrate the ability of using macros to extend the language. ... I would ask why you're using Delphi in the first place. ... programming language (i.e., you can assign them to variables, ...
    (alt.lang.asm)
  • Re: macro for shorter array syntax
    ... How is OCaml on adding readmacros, which Lisp can do easily. ... I would not ask that of a parsed language. ... We're confident that using macros is useful to us, ... debate has legitimate points on both sides. ...
    (comp.lang.lisp)
  • Re: LSE64 in standard Forth
    ... The cost of an additional add verses the cost of: ... language and the benefits and pitfalls of that language. ... LSE64 forces a lot more naming of things than Standard Forth, a thing I consider positive, but some in the group have criticized. ... The problem I have with macros is one well known in the C community: while a macro names a concept, it does not automatically provide a clean interface. ...
    (comp.lang.forth)
  • Re: Hey, what is all this off topic posting?
    ... >>> that's all you're using macros for, I can see why you don't much like ASM. ... > PL/I language constructs though. ... >> write the macros using some arcane assembler to do that on a new ...
    (sci.electronics.design)
  • Re: Python syntax in Lisp and Scheme
    ... >>expressive power because you believe it will be misused. ... people programming languages, both on the job and as a University ... that, Macros are just one. ... number of lines of code per year regardless of the language they write ...
    (comp.lang.lisp)