check excel country code

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi everybody,
I want to automate an Excel97 application using C#. I use the excel8.olb
file as COM interface. How can I check the country code of the installed
Excel application? I know that there is a method
"LanguageSettings.get_LanguageID()", but it works with Excel XP.

regards,
Maik
 
Maik,

You won't be able to get it through automation. I'm not sure if you
could do this, but I would think that the registry contains information
about which version is installed. I would check the documentation, or just
browse the registry to see if there is anything there that can help you.

Hope this helps.
 
Hi Nicholas,

I haven't found any saving registry entry to check the country code. There
is only the possibility to offer different language versions of my
application.
I've another question. Does the Excel9.olb file offer a culture info property?
 
Back
Top