Guys & RobDog !

I am using RD's .net spell checker and it is working sweet as a nut. But I was wondering if it would be possible to make a slight adjustment.

My problem at the moment is that I have around 15 different screens that need to use this, each screen could have upto 5 textboxes that need to be checked.

So, I have the SpellCheck code in a dll, and reference it each time I need to perform the check using something along the lines of.....

VB Code:
  1. Public Sub Spell()
  2.         Try
  3.             'Get New instance of PWBSpell.dll
  4.             Dim Spell As PWBspell.clsSpellMe = New PWBspell.clsSpellMe
  5.  
  6.             'Perform SpellCheck
  7.             tb_NTCComments.Text = Spell.SpellMe(tb_NTCComments.Text)
  8.             tb_NTCSubject.Text = Spell.SpellMe(tb_NTCSubject.Text)
  9.         Catch ex As Exception
  10.             EH.Log(ex)
  11.         End Try
  12.     End Sub

Where tb_.... are the textboxes to check.

Because the number of items to check on each screen varies, I am running the SpellMe function multiple times (Twice in this eg). Would it not be possible to send a string array to the function, SpellMe could run through each item in the array, then return a new array containing the corrected values ? Or is what I am doing now the best method.

Thanks in advance, and thanks again to RobDog for another fantastic bit of code.

Bob