Imports Infragistics.Win.UltraWinSpellChecker Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim word As String = "speeling" 'Check the word for spelling Dim result As WordCheckResult = Me.spellChecker.CheckWord(word) If (result.SpelledCorrectly) Then MessageBox.Show("The word: """ + word + """ is spelled correctly.") Else MessageBox.Show("The word: """ + word + """ is spelled incorrectly.") End If End Sub
using System.Windows.Forms; using Infragistics.Win.UltraWinSpellChecker; private void button1_Click( object sender, EventArgs e ) { string word = "speeling"; //Check the word for spelling WordCheckResult result = this.spellChecker.CheckWord( word ); if ( result.SpelledCorrectly ) MessageBox.Show( "The word: \"" + word + "\" is spelled correctly." ); else MessageBox.Show( "The word: \"" + word + "\" is spelled incorrectly." ); }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2