By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,625 Members | 1,267 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,625 IT Pros & Developers. It's quick & easy.

check excel country code

P: n/a
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
Nov 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Maik" <Ma**@discussions.microsoft.com> wrote in message
news:D7**********************************@microsof t.com...
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

Nov 17 '05 #2

P: n/a
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?
Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.