Word: detecting if a particular language spelling dictionary is installed?

  • Thread starter Andrew Fiddian-Green
  • Start date
A

Andrew Fiddian-Green

In VBA, how can I determine if Word has a spelling dictionary for a
particular language installed on that PC?

Regards,
AndrewFG
 
C

Cindy M -WordMVP-

Hi Andrew,
In VBA, how can I determine if Word has a spelling dictionary for a
particular language installed on that PC?
I can't find any better way than to search all available drives for
the *.lex file for the language.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :)
 
A

Andrew Fiddian-Green

In Delphi I can do it as follows:

lang := wdFrench;
langDictionaryInstalled :=
not varIsClear(WordApp.Languages.Item(lang).ActiveSpellingDictionary);

Regards,
AndrewFG
 

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