53
0 vote vote

[ Resolved ]

Setting Dictionary File for Spell Checker wont work.

Steps to regenerate

Here is the problem... I want the user to be able to switch languages using a drop down...

I was able to load the dictionary this way.
HtmlEditor1.SpellCheckDictionary.DictionaryFolder = Application.StartupPath + "\Spellchecker"
HtmlEditor1.SpellCheckDictionary.DictionaryFile = "en-US.dic"

I thought:
HtmlEditor1.SpellCheckDictionary.DictionaryFolder = Application.StartupPath + "\Spellchecker"
HtmlEditor1.SpellCheckDictionary.DictionaryFile = "es-es.dic"
Nope... it keeps the english language dictioary open...

I thought:
HtmlEditor1.SpellCheckDictionary.Initialize()
HtmlEditor1.SpellCheckDictionary.DictionaryFolder = Application.StartupPath + "\Spellchecker"
HtmlEditor1.SpellCheckDictionary.DictionaryFile = "es-es.dic"
No luck...

I thought:
Dim dic as new netspell.spelldictionary.....
dic.SpellCheckDictionary.DictionaryFolder = Application.StartupPath + "\Spellchecker"
dic.SpellCheckDictionary.DictionaryFile = "es-es.dic"
HtmlEditor1.SpellCheckDictionary=dic
Nope (HtmlEditor1.SpellCheckDictionary) is readonly....

Any ideas?

Thanks,
Faisal

By the way... superb component... wish it had a ribbon control to look a bit more modern.
Please feel free to share your comment.
loading...