Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

[VSTO] Localization for parameter in functions

$
0
0

Hi all,

i have a question about localization for parameters using in MS Project Professional functions. For example, for creating a view in German MS Project, I use a code line as following

ViewEditSingle Name:="My new view", Create:=True, Screen:=1, ShowInMenu:=True, HighlightFilter:=False, Table:="Eingabe", Filter:="Alle Vorgänge", Group:="Ohne Gruppe"

As you can see, for the parameters Table, Filter and Group, I have to use localized name in German. That means my code won't work when I try to apply it for English MS Project file because there is no object with those names (in english version they should be Table: Input, Filter: All tasks, Group: No Group).

Is it possible to make the code line above working with any language? I see that there is a function FieldConstantToFieldName, where I can give a field constant and have its name back. Is there something equivalent for table/filter/group?

Regards,




Viewing all articles
Browse latest Browse all 5347

Trending Articles