Imports Infragistics.Win.UltraWinSpellChecker
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Make the spell checker use the spanish dictionary.
Me.spellChecker.Dictionary = "C:\es-spanish-v2-whole.dict"
'Make the spell checker use a custom user dictionary.
Me.spellChecker.UserDictionary = "C:\MyUserDictionary.txt"
'The language parser should match the dictionary type.
Me.spellChecker.SpellOptions.LanguageParser = LanguageType.Spanish
End Sub