How to know language of MsProject

S

Steph

Hello,

I try to know the language setting associated with MsProject as I want
to use Application.Find function (as this function use literals which
are depending on language setting).

Is there someone who know how I can do ?

Thanks in advance

Steph
 
J

Jan De Messemaeker

Hi,

This is at least the third time I get so curious I start looking for it and
at last I found.
application.localeid id the language code of the installation (like 033 for
English)
HTH
 
J

Jan De Messemaeker

Correction of typo's in the previous message:

application.localeid id the language code of the installation (like 033 for
English)
should read

application.localeid IS the language code of the installation (like 1033 for
English)
 
S

Steph

I have MsProject2000 and it seems than object model doesn't have
localid property (or method) on application object.

Steph
 
J

Jan De Messemaeker

Hi,

Yes, I remembered taht.
Other than checking to which language list the DefaultView belongs I can't
find... Sorry.
HTH
 
S

Steph

As I access to MsProject file in a Dot.Net application, I define what
language it is used by using find function in a try..catch block and I
can deduce what literals to use. It works even if the method is not the
best.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top