Hi,
Please try the latest build of C1Spell for .Net which is available for
download at below mentioned link:
For.Net 1.x
http://prerelease.componentone.com/dotnet/c1spell/2007-t3/c1spell_1.2.20073.75.zip
For .Net 2.0
http://prerelease.componentone.com/dotnet20/c1spell/2007-t3/c1spell.2_2.2.20073.78.zip
If the issue still persists then please provide me with a small sample
exhibiting the said behavior.
I hope this helps.
Have a nice day ahead.
Regards,
John Adams
wrote in message news:192584@10.0.1.98...
I have used the Spell and Thesaurus controls for quite some time. But when
running my applications on Vista, the CheckWord() method of the Thesaurus
returns this error if the Thesaurus has suggestion:
System.ArgumentException was unhandled
Message="The output char buffer is too small to contain the decoded
characters, encoding 'Unicode (UTF-8)' fallback
'System.Text.DecoderReplacementFallback'.
Parameter name: chars"
ParamName="chars"
Source="mscorlib"
StackTrace:
at System.Text.Encoding.ThrowCharsOverflow()
at System.Text.Encoding.ThrowCharsOverflow(DecoderNLS decoder, Boolean
nothingDecoded)
at System.Text.UTF8Encoding.GetChars(Byte* bytes, Int32 byteCount, Char*
chars, Int32 charCount, DecoderNLS baseDecoder)
at System.Text.DecoderNLS.GetChars(Byte* bytes, Int32 byteCount, Char*
chars, Int32 charCount, Boolean flush)
at System.Text.DecoderNLS.GetChars(Byte[] bytes, Int32 byteIndex, Int32
byteCount, Char[] chars, Int32 charIndex, Boolean flush)
at System.Text.DecoderNLS.GetChars(Byte[] bytes, Int32 byteIndex, Int32
byteCount, Char[] chars, Int32 charIndex)
at System.IO.BinaryReader.InternalReadOneChar()
at System.IO.BinaryReader.Read()
at System.IO.BinaryReader.PeekChar()
at C1.Win.C1Spell.K.2K()
at C1.Win.C1Thesaurus.R.4H(N HY)
at C1.Win.C1Thesaurus.N.3X(String H1)
at C1.Win.C1Thesaurus.C1Thesaurus.3O(String GP)
at C1.Win.C1Thesaurus.C1Thesaurus.CheckWord(String word)
at
PlatteCanyon.TrainingStudio.ContentEditor.EditorModule.ShowThesaurus(EditorMaster&
formId) in C:\Users\Jeff\TrainingStudio\Developer\version
1\Editors\TrainingStudioContentEditor\EditorModule.vb:line 2265
The same application running on Windows 2000 or Windows XP works fine. My
version of the control is 1.2.20053.60. But I downloaded the evaluation
version of the most current version (2.2.20071.73) and the behavior is the
same.
If anyone has a workaround or if ComponentOne is able to fix the control,
please let me know. Thanks,
Jeff Rhodes
Platte Canyon Multimedia Software Corporation
http://helpcentral.componentone.com/cs/forums/p/70624/192584.aspx#192584