1. Yes, my mistake
oWordApp.CheckLanguage = .t.
2.
FOR EACH oDictionary IN oWordApp.Dictionaries
? oDictionary.Name, oDictionary.LanguageId
ENDFOR
>Borislav,
>
>That's great! Thank you very much! :)
>
>To summarize your code: My spellcheck code should paste the text to be spellchecked into Word, select this text, set this selected text's language property to a specific language id. By setting the text's language property, I don't have to change the default dictionary - Word will recognize the change in language and perform its spellcheck relative to the text's language property. Wow - that's a mouthful!
>
>Two quick questions:
>
>1. Should the oWordApp.CheckLanguage value be .T. vs. True in your code below?
>
>2. Any ideas on how I can verify that a given language's (locale's?) dictionary is present before?
>
>Regards,
>Malcolm
>
>>
>>#define wdFrenchCanadian 3084
>>#define wdFrance 33
>>
>>oWordDoc.Selection.LanguageID = wdFrenchCanadian
>>oWordDoc.Selection.NoProofing = .f.
>>oWordApp.CheckLanguage = True
>>...
>>
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.