# Using Hunspell Dictionaries from OpenOffice.org in TX Spell .NET

> TX Spell .NET natively supports Hunspell dictionaries from OpenOffice.org. The OXT files are renamed ZIP archives containing .dic and .aff files that load either through the Language property at design-time or programmatically via the DictionaryCollection and its Add method.

- **Author:** Bjoern Meyer
- **Published:** 2012-02-15
- **Modified:** 2026-07-17
- **Description:** TX Spell .NET natively supports Hunspell dictionaries from OpenOffice.org. The OXT files are renamed ZIP archives containing .dic and .aff files that load either through the Language property at design-time or programmatically via the DictionaryCollection and its Add method.
- **2 min read** (370 words)
- **Tags:**
  - Spell Checking
- **Web URL:** https://www.textcontrol.com/blog/2012/02/15/using-hunspell-dictionaries-from-openofficeorg-in-tx-spell-net/
- **LLMs URL:** https://www.textcontrol.com/blog/2012/02/15/using-hunspell-dictionaries-from-openofficeorg-in-tx-spell-net/llms.txt
- **LLMs-Full URL:** https://www.textcontrol.com/blog/2012/02/15/using-hunspell-dictionaries-from-openofficeorg-in-tx-spell-net/llms-full.txt

---

One of the principal advantages of TX Spell .NET is the direct support of the freely available *Hunspell* dictionaries from [OpenOffice.org](http://wiki.services.openoffice.org/wiki/Dictionaries).

In our [TX Spell .NET Dictionaries](https://www.textcontrol.com/product/) section, you can download the tested and verified dictionaries. The Hunspell dictionaries with the file extension **\*.oxt** are actually ZIP files. In order to use those **OXT** files, change the extension to **ZIP** and unzip the archive. Typically, the OXT contains a **Dic**tionary file (*en\_US.dic*) and an **Aff**ix file (*en\_US.aff*). Those files can be directly loaded in TX Spell .NET.

*The verified dictionaries in our download section are already prepared and packaged as ZIP files.*

In order to load this dictionary, it must be added to the [DictionaryCollection](https://docs.textcontrol.com/spell/windows-forms/ref.txtextcontrol.proofing.dictionarycollection.class.htm). There are two ways to load this dictionary.

Using the Language Property
---------------------------

- Copy both files (dic and aff) to the default dictionary folder:
    
    Default: *C:\\Program Files\\Text Control GmbH\\TX Spell 2.0 .NET for Windows Forms\\Assembly\\Dictionaries\\*
    
    Or, when you deploy your application, a *Dictionaries* subfolder of your application's root directory.
- In Visual Studio, the dictionary can be selected using the [Language](https://docs.textcontrol.com/spell/windows-forms/ref.txtextcontrol.proofing.txspell.language.property.htm) property in the *Properties* window at design-time:
    
    ![TX Spell .NET Language](https://s1-www.textcontrol.com/assets/dist/blog/2012/02/15/a/assets/txspell_dic_language.webp "TX Spell .NET Language")

Adding Dictionaries Dynamically
-------------------------------

- Copy both files (dic and aff) to the default dictionary folder.
- Set the [Language](https://docs.textcontrol.com/spell/windows-forms/ref.txtextcontrol.proofing.txspell.language.property.htm) property to *(none)*.
- Now, a new [OpenOfficeDictionary](https://docs.textcontrol.com/spell/windows-forms/ref.txtextcontrol.proofing.openofficedictionary.class.htm) can be created and added to the DictionaryCollection dynamically:
    
    ```
    TXTextControl.Proofing.OpenOfficeDictionary ooDic =
        new TXTextControl.Proofing.OpenOfficeDictionary("en_US.dic");
    
    txSpellChecker1.Dictionaries.Add(ooDic);
    ```
    
    The parameter of the *OpenOfficeDictionary* constructor specifies the path for the Hunspell OpenOffice.org dictionary **dic** file. Using only the dictionary file name without a directory path, the corresponding dictionary file from the default dictionary folder will be used.

---

## About Bjoern Meyer

As CEO, Bjoern is the visionary behind our strategic direction and business development, bridging the gap between our customers and engineering teams. His deep passion for coding and web technologies drives the creation of innovative products. If you're at a tech conference, be sure to stop by our booth - you'll most likely meet Bjoern in person. With an advanced graduate degree (Dipl. Inf.) in Computer Science, specializing in AI, from the University of Bremen, Bjoern brings significant expertise to his role. In his spare time, Bjoern enjoys running, paragliding, mountain biking, and playing the piano.

- [LinkedIn](https://www.linkedin.com/in/bjoernmeyer/)
- [X](https://x.com/txbjoern)
- [GitHub](https://github.com/bjoerntx)

---

## Related Posts

- [Service Pack 1 for TX Spell .NET 7.0 Released](https://www.textcontrol.com/blog/2019/05/28/service-pack-1-for-spell-7-released/llms.txt)
- [Proofing Tools Available As ReportingCloud Web API Endpoints](https://www.textcontrol.com/blog/2017/08/23/proofing-tools-available-as-reportingcloud-web-api-endpoints/llms.txt)
- [Using TX Spell .NET with ServerTextControl](https://www.textcontrol.com/blog/2016/04/26/using-tx-spell-net-with-servertextcontrol/llms.txt)
- [HTML5: Enable Spell Checking Using Javascript](https://www.textcontrol.com/blog/2015/10/08/html5-enable-spell-checking-using-javascript/llms.txt)
- [Web.TextControl and Spell Checking](https://www.textcontrol.com/blog/2015/02/09/webtextcontrol-and-spell-checking/llms.txt)
- [TX Spell .NET: Not Only a Spell Checker](https://www.textcontrol.com/blog/2014/11/28/tx-spell-net-not-only-a-spell-checker/llms.txt)
- [TX Text Control X11 Sneak Peek: Language Detection](https://www.textcontrol.com/blog/2014/08/25/tx-text-control-x11-sneak-peek-language-detection/llms.txt)
- [Interactive Spelling Suggestions Using TX Spell .NET](https://www.textcontrol.com/blog/2014/07/30/interactive-spelling-suggestions-using-tx-spell-net/llms.txt)
- [Sneak Peek TX Spell 5.0: Language Detection Engine](https://www.textcontrol.com/blog/2014/07/28/sneak-peek-tx-spell-50-language-detection-engine/llms.txt)
- [AutoCorrect: TWo INitial CApitals](https://www.textcontrol.com/blog/2014/07/24/autocorrect-two-initial-capitals/llms.txt)
- [TX Spell .NET: Ignore Word List Using User Dictionaries](https://www.textcontrol.com/blog/2014/01/10/tx-spell-net-ignore-word-list-using-user-dictionaries/llms.txt)
- [Special Offer: Add Spell Checking and Save 20%](https://www.textcontrol.com/blog/2013/03/05/special-offer-add-spell-checking-and-save-20/llms.txt)
- [TX Spell .NET ActiveX Package Goes CodePlex](https://www.textcontrol.com/blog/2012/11/21/tx-spell-net-activex-package-goes-codeplex/llms.txt)
- [Spell Checking, MailMerge and UserDictionaries](https://www.textcontrol.com/blog/2012/11/19/spell-checking-mailmerge-and-userdictionaries/llms.txt)
- [TX Spell .NET: Exploring the Science Behind Suggestions](https://www.textcontrol.com/blog/2012/02/03/tx-spell-net-exploring-the-science-behind-suggestions/llms.txt)
- [Adding User Dictionaries to TX Spell .NET in VB6](https://www.textcontrol.com/blog/2012/02/02/adding-user-dictionaries-to-tx-spell-net-in-vb6/llms.txt)
- [TX Spell .NET: US English Legal Dictionary Released](https://www.textcontrol.com/blog/2012/01/27/tx-spell-net-us-english-legal-dictionary-released/llms.txt)
- [From Our Labs: New Spell Checking Concepts for DataGridViews](https://www.textcontrol.com/blog/2012/01/24/from-our-labs-new-spell-checking-concepts-for-datagridviews/llms.txt)
- [TX Spell .NET: Medical Dictionary Tested and Published](https://www.textcontrol.com/blog/2012/01/19/tx-spell-net-medical-dictionary-tested-and-published/llms.txt)
- [Add Spell Checking to TX Text Control Express](https://www.textcontrol.com/blog/2012/01/16/add-spell-checking-to-tx-text-control-express/llms.txt)
- [TX Spell .NET ActiveX Package Released - Spell Checking in VB6](https://www.textcontrol.com/blog/2012/01/09/tx-spell-net-activex-package-released-spell-checking-in-vb6/llms.txt)
- [TX Spell .NET: Creating Custom Context Menus](https://www.textcontrol.com/blog/2012/01/04/tx-spell-net-creating-custom-context-menus/llms.txt)
- [Converting 3rd-party User Dictionaries to TX Spell .NET](https://www.textcontrol.com/blog/2012/01/03/converting-3rd-party-user-dictionaries-to-tx-spell-net/llms.txt)
- [Porting RapidSpell to TX Spell .NET](https://www.textcontrol.com/blog/2011/12/22/porting-rapidspell-to-tx-spell-net/llms.txt)
- [Deploying TX Spell .NET in an XBAP Browser Application](https://www.textcontrol.com/blog/2011/12/08/deploying-tx-spell-net-in-an-xbap-browser-application/llms.txt)
