Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automating multi-lingual spellchecking using Word
Message
From
13/07/2005 14:28:52
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Automating multi-lingual spellchecking using Word
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01032336
Message ID:
01032336
Views:
65
Does anyone have any experience automating Word spellchecking with multiple language dictionaries? I built a spellchecking "plugin" that allows users to use Word's spellcheck engine to spellcheck certain memo fields. My code has always used the user's default dictionary (English).

I have a French Canadian user that just asked if I could update my plugin so that it would use his French (Canadian) dictionary for spellchecking certain fields and his US (English) dictionary for spellchecking other fields. My application will know the language type of each field.

Any suggestions on how I can verify that a specific dictionary is present and select it for a specific spellchecking session? Normally I would reverse engineer a recorded macro, but I only have an English dictionary on my system.

I'm also concerned about any side effects of changing the user's dictionary during a spellchecking session. Will this effect other copies of Word? Should I start a seperate copy of Word to use just for spellchecking? Or is there a way I can tag (style?) my text being spellchecked so that Word uses the appropriate dictionary?

Note: For this specific application my users are committed to using Word as their spellcheck engine (vs. a 3rd party spellchecker) so that they have only a single place to manage the custom words they add to their dictionar(ies).

Any thoughts appreciated,

Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Next
Reply
Map
View

Click here to load this message in the networking platform