Results 1 to 4 of 4

Thread: TXSpellChecker.OptionsDialog does not display dictionary names

  1. #1
    Join Date
    Jan 2012
    Posts
    12

    TXSpellChecker.OptionsDialog does not display dictionary names

    The TXSpellChecker.OptionsDialog does not display the dictionary names in the Dictionaries tab:

    Click image for larger version. 

Name:	spellchecker.PNG 
Views:	241 
Size:	21.9 KB 
ID:	1739

    This is the c# code used to display the optionsdialog :

    Code:
                TXTextControl.WPF.Proofing.TXSpellChecker txSpellChecker1 = (TXTextControl.WPF.Proofing.TXSpellChecker)Resources["txSpellChecker1"];
                txSpellChecker1.OptionsDialog();
    This is also true when you click on the user dictionaries button.

    This is the code used to create and add the user dictionary:

    Code:
            private void SetUserDictionary()
            {
                try
                {
                    string strAppData = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\DocuMinder\\user_dictionary.txd";
                    if (!File.Exists(strAppData))
                    {
                        if (Directory.Exists(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\DocuMinder"))
                        {
                            StreamWriter fs = File.CreateText(strAppData);
                            fs.Close();
                        }
                        else
                        {
                            Directory.CreateDirectory(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\DocuMinder");
                            StreamWriter fs = File.CreateText(strAppData);
                            fs.Close();
                        }
                    }
                    TXTextControl.Proofing.UserDictionary u_dic = new TXTextControl.Proofing.UserDictionary(strAppData);
                    u_dic.DictionaryEncoding = System.Text.Encoding.UTF8;
                    TXTextControl.WPF.Proofing.TXSpellChecker txSpellChecker1 = (TXTextControl.WPF.Proofing.TXSpellChecker)Resources["txSpellChecker1"];
                    txSpellChecker1.Dictionaries.Add(u_dic);
                    u_dic.Name = "User_Dictionary";
                    u_dic.Save(strAppData);
                }
                catch (Exception ex)
                {
                }
            }
    Am I missing something or is this a bug in TXSpell .Net for WPF 2.0

    Regards,

    Steve Perrins
    SCP Computers

  2. #2
    Join Date
    Sep 2004
    Location
    Bremen, Germany
    Posts
    5,930

    Re: TXSpellChecker.OptionsDialog does not display dictionary names

    Hi Steve,
    This is indeed a bug in TX Spell .NET for WPF 2.0 and will be fixed with the next service pack.
    Regards,
    Gunnar Giffey, TX Text Control
    [Forum Administrator]

  3. #3
    Join Date
    Jan 2012
    Posts
    12

    Re: TXSpellChecker.OptionsDialog does not display dictionary names

    Hi Gunnar,

    Thanks for the quick response. Do you have any time scales on when the fix will be released?

    Regards,

    Steve Perrins
    SCP Computers

  4. #4
    Join Date
    Sep 2004
    Location
    Bremen, Germany
    Posts
    5,930

    Re: TXSpellChecker.OptionsDialog does not display dictionary names

    The service pack for TX Spell .NET will probably be released within the next 2 months.
    Regards,
    Gunnar Giffey, TX Text Control
    [Forum Administrator]

Similar Threads

  1. Medical Dictionary
    By mlmanfredi in forum TX Text Control RapidSpell .NET for Windows Forms
    Replies: 1
    Last Post: July 25, 2010, 20:35:07
  2. Reading Style Names
    By Unregistered in forum TX Text Control ActiveX
    Replies: 2
    Last Post: July 30, 2006, 07:38:03
  3. spell dictionary
    By Unregistered in forum TX Text Control ActiveX
    Replies: 1
    Last Post: January 9, 2003, 17:34:10
  4. Can't Get Image Names
    By Unregistered in forum TX Text Control ActiveX
    Replies: 1
    Last Post: December 6, 2002, 18:36:58

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •