473,581 Members | 2,307 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.NET Spell checker available?

Joe
Hello All:

Does anyone know of a spell checker that works with .NET?

Any options will be welcome.

TIA,
--
Joe
Mar 20 '06 #1
8 2103
CMM
Do you mean free? I think the ComponentOne tools that MS put in the VB 2003
Resource came with a free SpellChecker component. Not sure if that's still
available... it has been a while since the resource kit came out.

You can also enlist Word to do spellchecking for you.... check this out....
it seems a bit kludgy at first, but it works quite well (for WinForms
anyway):

Option Strict Off

Public Class MSWordSpellChec ker
Implements IDisposable

'Adapted from old VB6 code

Private m_oWord As Object
Private m_oWordDoc As Object
Private m_bInit As Boolean

Public Sub Init()

m_oWord = CreateObject("W ord.Application ")
m_oWordDoc = m_oWord.Documen ts.Add
m_oWord.Visible = False
m_oWord.WindowS tate = 2 'WdWindowState. wdWindowStateMi nimize
m_bInit = True

End Sub

Public Sub SpellCheck(ByRe f sText As String)

Dim iLen As Integer

If Not m_bInit Then Init()

m_oWord.Selecti on.WholeStory()
m_oWord.Selecti on.Text = sText
m_oWord.Selecti on.LanguageID = 1033 'WdLanguageID.w dEnglishUS

m_oWordDoc.Chec kSpelling()

m_oWord.Selecti on.WholeStory()
sText = m_oWord.Selecti on.Text

' strip off CR/LF on end of string
iLen = Len(sText)
While (iLen > 0 And ((Right(sText, 1) = vbCr) Or (Right(sText, 1) =
vbLf)))
iLen -= 1
sText = Left(sText, iLen)
End While

m_oWord.Visible = False

End Sub

Public Sub SpellCheckClipb oard()

If Not m_bInit Then Init()

m_oWord.Selecti on.WholeStory()
m_oWord.Selecti on.Paste()
m_oWord.Selecti on.LanguageID = 1033 'WdLanguageID.w dEnglishUS

m_oWordDoc.Chec kSpelling()

System.Windows. Forms.Clipboard .SetDataObject( New
System.Windows. Forms.DataObjec t)

m_oWord.Selecti on.WholeStory()
m_oWord.Selecti on.Copy()

m_oWord.Visible = False

End Sub

Public Sub Dispose() Implements System.IDisposa ble.Dispose

Try
If Not m_oWordDoc Is Nothing Then
m_oWordDoc.Clos e(SaveChanges:= 0)
'WdSaveOptions. wdDoNotSaveChan ges
m_oWordDoc = Nothing
End If
If Not m_oWord Is Nothing Then
m_oWord.Quit()
m_oWord = Nothing
End If
Catch
'do nothing
End Try

End Sub

Protected Overrides Sub Finalize()

Dispose()
MyBase.Finalize ()

End Sub

End Class
--
-C. Moya
www.cmoya.com
"Joe" <Jo*@discussion s.microsoft.com > wrote in message
news:5D******** *************** ***********@mic rosoft.com...
Hello All:

Does anyone know of a spell checker that works with .NET?

Any options will be welcome.

TIA,
--
Joe

Mar 20 '06 #2
I don't have any experience of using this in .NET (that's my disclaimer to
say that the following might be complete nonsense), but I have used Word
automation in the past, and the problem I had with this kind of thing is
that it *WILL NOT* work in a multi-threaded environment (such as ASP.NET
pages). The reason I highlight this fact is because it is actually
documented by MS that it is not designed to work in this way, and so should
not be used in this way. I discovered this after a couple of weeks of trial
and error.

It might be different for the spell checker and for .NET so don't just take
my word for it, but it might be worth looking at this before spending too
much time on it.

Will
"CMM" <cm*@nospam.com > wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Do you mean free? I think the ComponentOne tools that MS put in the VB
2003 Resource came with a free SpellChecker component. Not sure if that's
still available... it has been a while since the resource kit came out.

You can also enlist Word to do spellchecking for you.... check this
out.... it seems a bit kludgy at first, but it works quite well (for
WinForms anyway):

Option Strict Off

Public Class MSWordSpellChec ker
Implements IDisposable

'Adapted from old VB6 code

Private m_oWord As Object
Private m_oWordDoc As Object
Private m_bInit As Boolean

Public Sub Init()

m_oWord = CreateObject("W ord.Application ")
m_oWordDoc = m_oWord.Documen ts.Add
m_oWord.Visible = False
m_oWord.WindowS tate = 2 'WdWindowState. wdWindowStateMi nimize
m_bInit = True

End Sub

Public Sub SpellCheck(ByRe f sText As String)

Dim iLen As Integer

If Not m_bInit Then Init()

m_oWord.Selecti on.WholeStory()
m_oWord.Selecti on.Text = sText
m_oWord.Selecti on.LanguageID = 1033 'WdLanguageID.w dEnglishUS

m_oWordDoc.Chec kSpelling()

m_oWord.Selecti on.WholeStory()
sText = m_oWord.Selecti on.Text

' strip off CR/LF on end of string
iLen = Len(sText)
While (iLen > 0 And ((Right(sText, 1) = vbCr) Or (Right(sText, 1) =
vbLf)))
iLen -= 1
sText = Left(sText, iLen)
End While

m_oWord.Visible = False

End Sub

Public Sub SpellCheckClipb oard()

If Not m_bInit Then Init()

m_oWord.Selecti on.WholeStory()
m_oWord.Selecti on.Paste()
m_oWord.Selecti on.LanguageID = 1033 'WdLanguageID.w dEnglishUS

m_oWordDoc.Chec kSpelling()

System.Windows. Forms.Clipboard .SetDataObject( New
System.Windows. Forms.DataObjec t)

m_oWord.Selecti on.WholeStory()
m_oWord.Selecti on.Copy()

m_oWord.Visible = False

End Sub

Public Sub Dispose() Implements System.IDisposa ble.Dispose

Try
If Not m_oWordDoc Is Nothing Then
m_oWordDoc.Clos e(SaveChanges:= 0)
'WdSaveOptions. wdDoNotSaveChan ges
m_oWordDoc = Nothing
End If
If Not m_oWord Is Nothing Then
m_oWord.Quit()
m_oWord = Nothing
End If
Catch
'do nothing
End Try

End Sub

Protected Overrides Sub Finalize()

Dispose()
MyBase.Finalize ()

End Sub

End Class
--
-C. Moya
www.cmoya.com
"Joe" <Jo*@discussion s.microsoft.com > wrote in message
news:5D******** *************** ***********@mic rosoft.com...
Hello All:

Does anyone know of a spell checker that works with .NET?

Any options will be welcome.

TIA,
--
Joe


Mar 21 '06 #3
Silly me.

I went to google and queried :

http://www.google.com/search?hl=en&q...ell+checker%22

In 3 seconds, I got back :

http://www.keyoti.com/products/rapidspell/dotNet/

http://sourceforge.net/projects/netspell/

http://www.freedownloadscenter.com/P...l_Checker.html

http://dotnet.org.za/armand/archive/...1/14/6905.aspx

http://www.devhood.com/Tools/tool_de...px?tool_id=453

http://www.tachyon-labs.com/sharpspell/

http://www.telerik.com/Default.aspx?PageId=1638

http://www.loresoft.com/Applications...d/default.aspx

and a bunch of others...

Some are free; some are not. One of them should do the job this thread requests.

People : *always* use Google or MSN Search before posting here.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"William Buchanan" <william.buchan an@naespam_free net.co.uk> wrote in message
news:e%******** ********@TK2MSF TNGP09.phx.gbl. ..
I don't have any experience of using this in .NET (that's my disclaimer to say that the following
might be complete nonsense), but I have used Word automation in the past, and the problem I had
with this kind of thing is that it *WILL NOT* work in a multi-threaded environment (such as ASP.NET
pages). The reason I highlight this fact is because it is actually documented by MS that it is not
designed to work in this way, and so should not be used in this way. I discovered this after a
couple of weeks of trial and error.

It might be different for the spell checker and for .NET so don't just take my word for it, but it
might be worth looking at this before spending too much time on it.

Will
"CMM" <cm*@nospam.com > wrote in message news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Do you mean free? I think the ComponentOne tools that MS put in the VB 2003 Resource came with a
free SpellChecker component. Not sure if that's still available... it has been a while since the
resource kit came out.

You can also enlist Word to do spellchecking for you.... check this out.... it seems a bit kludgy
at first, but it works quite well (for WinForms anyway):

Option Strict Off

Public Class MSWordSpellChec ker
Implements IDisposable

'Adapted from old VB6 code

Private m_oWord As Object
Private m_oWordDoc As Object
Private m_bInit As Boolean

Public Sub Init()

m_oWord = CreateObject("W ord.Application ")
m_oWordDoc = m_oWord.Documen ts.Add
m_oWord.Visible = False
m_oWord.WindowS tate = 2 'WdWindowState. wdWindowStateMi nimize
m_bInit = True

End Sub

Public Sub SpellCheck(ByRe f sText As String)

Dim iLen As Integer

If Not m_bInit Then Init()

m_oWord.Selecti on.WholeStory()
m_oWord.Selecti on.Text = sText
m_oWord.Selecti on.LanguageID = 1033 'WdLanguageID.w dEnglishUS

m_oWordDoc.Chec kSpelling()

m_oWord.Selecti on.WholeStory()
sText = m_oWord.Selecti on.Text

' strip off CR/LF on end of string
iLen = Len(sText)
While (iLen > 0 And ((Right(sText, 1) = vbCr) Or (Right(sText, 1) = vbLf)))
iLen -= 1
sText = Left(sText, iLen)
End While

m_oWord.Visible = False

End Sub

Public Sub SpellCheckClipb oard()

If Not m_bInit Then Init()

m_oWord.Selecti on.WholeStory()
m_oWord.Selecti on.Paste()
m_oWord.Selecti on.LanguageID = 1033 'WdLanguageID.w dEnglishUS

m_oWordDoc.Chec kSpelling()

System.Windows. Forms.Clipboard .SetDataObject( New System.Windows. Forms.DataObjec t)

m_oWord.Selecti on.WholeStory()
m_oWord.Selecti on.Copy()

m_oWord.Visible = False

End Sub

Public Sub Dispose() Implements System.IDisposa ble.Dispose

Try
If Not m_oWordDoc Is Nothing Then
m_oWordDoc.Clos e(SaveChanges:= 0) 'WdSaveOptions. wdDoNotSaveChan ges
m_oWordDoc = Nothing
End If
If Not m_oWord Is Nothing Then
m_oWord.Quit()
m_oWord = Nothing
End If
Catch
'do nothing
End Try

End Sub

Protected Overrides Sub Finalize()

Dispose()
MyBase.Finalize ()

End Sub

End Class
--
-C. Moya
www.cmoya.com
"Joe" <Jo*@discussion s.microsoft.com > wrote in message
news:5D******** *************** ***********@mic rosoft.com...
Hello All:

Does anyone know of a spell checker that works with .NET?

Any options will be welcome.

TIA,
--
Joe



Mar 21 '06 #4
Joe
Juan,

I *did* Google it and got the same responses that you did.

The point of the post was to ask seasoned professionals (and not search
engines) for suggestions. Based on my experience, many people here have used
these types of products and I wanted to avoid having to spend hours milling
through garbage to find one that really works well.

Never fear; I try to always Google before you hear from me.

So, have you sued any of the ones that you sited?

--
Joe
"Juan T. Llibre" wrote:
Silly me.

I went to google and queried :

http://www.google.com/search?hl=en&q...ell+checker%22

In 3 seconds, I got back :

http://www.keyoti.com/products/rapidspell/dotNet/

http://sourceforge.net/projects/netspell/

http://www.freedownloadscenter.com/P...l_Checker.html

http://dotnet.org.za/armand/archive/...1/14/6905.aspx

http://www.devhood.com/Tools/tool_de...px?tool_id=453

http://www.tachyon-labs.com/sharpspell/

http://www.telerik.com/Default.aspx?PageId=1638

http://www.loresoft.com/Applications...d/default.aspx

and a bunch of others...

Some are free; some are not. One of them should do the job this thread requests.

People : *always* use Google or MSN Search before posting here.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"William Buchanan" <william.buchan an@naespam_free net.co.uk> wrote in message
news:e%******** ********@TK2MSF TNGP09.phx.gbl. ..
I don't have any experience of using this in .NET (that's my disclaimer to say that the following
might be complete nonsense), but I have used Word automation in the past, and the problem I had
with this kind of thing is that it *WILL NOT* work in a multi-threaded environment (such as ASP.NET
pages). The reason I highlight this fact is because it is actually documented by MS that it is not
designed to work in this way, and so should not be used in this way. I discovered this after a
couple of weeks of trial and error.

It might be different for the spell checker and for .NET so don't just take my word for it, but it
might be worth looking at this before spending too much time on it.

Will
"CMM" <cm*@nospam.com > wrote in message news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Do you mean free? I think the ComponentOne tools that MS put in the VB 2003 Resource came with a
free SpellChecker component. Not sure if that's still available... it has been a while since the
resource kit came out.

You can also enlist Word to do spellchecking for you.... check this out.... it seems a bit kludgy
at first, but it works quite well (for WinForms anyway):

Option Strict Off

Public Class MSWordSpellChec ker
Implements IDisposable

'Adapted from old VB6 code

Private m_oWord As Object
Private m_oWordDoc As Object
Private m_bInit As Boolean

Public Sub Init()

m_oWord = CreateObject("W ord.Application ")
m_oWordDoc = m_oWord.Documen ts.Add
m_oWord.Visible = False
m_oWord.WindowS tate = 2 'WdWindowState. wdWindowStateMi nimize
m_bInit = True

End Sub

Public Sub SpellCheck(ByRe f sText As String)

Dim iLen As Integer

If Not m_bInit Then Init()

m_oWord.Selecti on.WholeStory()
m_oWord.Selecti on.Text = sText
m_oWord.Selecti on.LanguageID = 1033 'WdLanguageID.w dEnglishUS

m_oWordDoc.Chec kSpelling()

m_oWord.Selecti on.WholeStory()
sText = m_oWord.Selecti on.Text

' strip off CR/LF on end of string
iLen = Len(sText)
While (iLen > 0 And ((Right(sText, 1) = vbCr) Or (Right(sText, 1) = vbLf)))
iLen -= 1
sText = Left(sText, iLen)
End While

m_oWord.Visible = False

End Sub

Public Sub SpellCheckClipb oard()

If Not m_bInit Then Init()

m_oWord.Selecti on.WholeStory()
m_oWord.Selecti on.Paste()
m_oWord.Selecti on.LanguageID = 1033 'WdLanguageID.w dEnglishUS

m_oWordDoc.Chec kSpelling()

System.Windows. Forms.Clipboard .SetDataObject( New System.Windows. Forms.DataObjec t)

m_oWord.Selecti on.WholeStory()
m_oWord.Selecti on.Copy()

m_oWord.Visible = False

End Sub

Public Sub Dispose() Implements System.IDisposa ble.Dispose

Try
If Not m_oWordDoc Is Nothing Then
m_oWordDoc.Clos e(SaveChanges:= 0) 'WdSaveOptions. wdDoNotSaveChan ges
m_oWordDoc = Nothing
End If
If Not m_oWord Is Nothing Then
m_oWord.Quit()
m_oWord = Nothing
End If
Catch
'do nothing
End Try

End Sub

Protected Overrides Sub Finalize()

Dispose()
MyBase.Finalize ()

End Sub

End Class
--
-C. Moya
www.cmoya.com
"Joe" <Jo*@discussion s.microsoft.com > wrote in message
news:5D******** *************** ***********@mic rosoft.com...
Hello All:

Does anyone know of a spell checker that works with .NET?

Any options will be welcome.

TIA,
--
Joe



Mar 21 '06 #5
re:
Never fear; I try to always Google before you hear from me.
It's good to know that, Joe.

re: So, have you sued any of the ones that you sited?
No, but I have used a couple... ;-)

http://sourceforge.net/projects/netspell/ looks pretty good.

SharpSpell is good...but expensive ($199) : http://www.tachyon-labs.com/sharpspell/

r.a.d.Spell is good and costs the same as SharpSpell:
http://www.telerik.com/Default.aspx?PageId=1638


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Joe" <Jo*@discussion s.microsoft.com > wrote in message
news:0A******** *************** ***********@mic rosoft.com... Juan,

I *did* Google it and got the same responses that you did.

The point of the post was to ask seasoned professionals (and not search
engines) for suggestions. Based on my experience, many people here have used
these types of products and I wanted to avoid having to spend hours milling
through garbage to find one that really works well.

Never fear; I try to always Google before you hear from me.

So, have you sued any of the ones that you sited?

--
Joe
"Juan T. Llibre" wrote:
Silly me.

I went to google and queried :

http://www.google.com/search?hl=en&q...ell+checker%22

In 3 seconds, I got back :

http://www.keyoti.com/products/rapidspell/dotNet/

http://sourceforge.net/projects/netspell/

http://www.freedownloadscenter.com/P...l_Checker.html

http://dotnet.org.za/armand/archive/...1/14/6905.aspx

http://www.devhood.com/Tools/tool_de...px?tool_id=453

http://www.tachyon-labs.com/sharpspell/

http://www.telerik.com/Default.aspx?PageId=1638

http://www.loresoft.com/Applications...d/default.aspx

and a bunch of others...

Some are free; some are not. One of them should do the job this thread requests.

People : *always* use Google or MSN Search before posting here.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"William Buchanan" <william.buchan an@naespam_free net.co.uk> wrote in message
news:e%******** ********@TK2MSF TNGP09.phx.gbl. ..
>I don't have any experience of using this in .NET (that's my disclaimer to say that the
>following
>might be complete nonsense), but I have used Word automation in the past, and the problem I had
>with this kind of thing is that it *WILL NOT* work in a multi-threaded environment (such as
>ASP.NET
>pages). The reason I highlight this fact is because it is actually documented by MS that it is
>not
>designed to work in this way, and so should not be used in this way. I discovered this after a
>couple of weeks of trial and error.
>
> It might be different for the spell checker and for .NET so don't just take my word for it, but
> it
> might be worth looking at this before spending too much time on it.
>
> Will
>
>
> "CMM" <cm*@nospam.com > wrote in message news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
>> Do you mean free? I think the ComponentOne tools that MS put in the VB 2003 Resource came with
>> a
>> free SpellChecker component. Not sure if that's still available... it has been a while since
>> the
>> resource kit came out.
>>
>> You can also enlist Word to do spellchecking for you.... check this out.... it seems a bit
>> kludgy
>> at first, but it works quite well (for WinForms anyway):
>>
>> Option Strict Off
>>
>> Public Class MSWordSpellChec ker
>> Implements IDisposable
>>
>> 'Adapted from old VB6 code
>>
>> Private m_oWord As Object
>> Private m_oWordDoc As Object
>> Private m_bInit As Boolean
>>
>> Public Sub Init()
>>
>> m_oWord = CreateObject("W ord.Application ")
>> m_oWordDoc = m_oWord.Documen ts.Add
>> m_oWord.Visible = False
>> m_oWord.WindowS tate = 2 'WdWindowState. wdWindowStateMi nimize
>> m_bInit = True
>>
>> End Sub
>>
>> Public Sub SpellCheck(ByRe f sText As String)
>>
>> Dim iLen As Integer
>>
>> If Not m_bInit Then Init()
>>
>> m_oWord.Selecti on.WholeStory()
>> m_oWord.Selecti on.Text = sText
>> m_oWord.Selecti on.LanguageID = 1033 'WdLanguageID.w dEnglishUS
>>
>> m_oWordDoc.Chec kSpelling()
>>
>> m_oWord.Selecti on.WholeStory()
>> sText = m_oWord.Selecti on.Text
>>
>> ' strip off CR/LF on end of string
>> iLen = Len(sText)
>> While (iLen > 0 And ((Right(sText, 1) = vbCr) Or (Right(sText, 1) = vbLf)))
>> iLen -= 1
>> sText = Left(sText, iLen)
>> End While
>>
>> m_oWord.Visible = False
>>
>> End Sub
>>
>> Public Sub SpellCheckClipb oard()
>>
>> If Not m_bInit Then Init()
>>
>> m_oWord.Selecti on.WholeStory()
>> m_oWord.Selecti on.Paste()
>> m_oWord.Selecti on.LanguageID = 1033 'WdLanguageID.w dEnglishUS
>>
>> m_oWordDoc.Chec kSpelling()
>>
>> System.Windows. Forms.Clipboard .SetDataObject( New System.Windows. Forms.DataObjec t)
>>
>> m_oWord.Selecti on.WholeStory()
>> m_oWord.Selecti on.Copy()
>>
>> m_oWord.Visible = False
>>
>> End Sub
>>
>> Public Sub Dispose() Implements System.IDisposa ble.Dispose
>>
>> Try
>> If Not m_oWordDoc Is Nothing Then
>> m_oWordDoc.Clos e(SaveChanges:= 0) 'WdSaveOptions. wdDoNotSaveChan ges
>> m_oWordDoc = Nothing
>> End If
>> If Not m_oWord Is Nothing Then
>> m_oWord.Quit()
>> m_oWord = Nothing
>> End If
>> Catch
>> 'do nothing
>> End Try
>>
>> End Sub
>>
>> Protected Overrides Sub Finalize()
>>
>> Dispose()
>> MyBase.Finalize ()
>>
>> End Sub
>>
>> End Class
>>
>>
>> --
>> -C. Moya
>> www.cmoya.com
>> "Joe" <Jo*@discussion s.microsoft.com > wrote in message
>> news:5D******** *************** ***********@mic rosoft.com...
>>> Hello All:
>>>
>>> Does anyone know of a spell checker that works with .NET?
>>>
>>> Any options will be welcome.
>>>
>>> TIA,
>>> --
>>> Joe
>>
>>
>
>


Mar 21 '06 #6
Joe
Juan,

Obviously I needed a spell-checker!

Let that last line read read, "Have you *used* any of the ones that you
sited?"

Thanks,
--
Joe
"Joe" wrote:
Juan,

I *did* Google it and got the same responses that you did.

The point of the post was to ask seasoned professionals (and not search
engines) for suggestions. Based on my experience, many people here have used
these types of products and I wanted to avoid having to spend hours milling
through garbage to find one that really works well.

Never fear; I try to always Google before you hear from me.

So, have you sued any of the ones that you sited?

--
Joe
"Juan T. Llibre" wrote:
Silly me.

I went to google and queried :

http://www.google.com/search?hl=en&q...ell+checker%22

In 3 seconds, I got back :

http://www.keyoti.com/products/rapidspell/dotNet/

http://sourceforge.net/projects/netspell/

http://www.freedownloadscenter.com/P...l_Checker.html

http://dotnet.org.za/armand/archive/...1/14/6905.aspx

http://www.devhood.com/Tools/tool_de...px?tool_id=453

http://www.tachyon-labs.com/sharpspell/

http://www.telerik.com/Default.aspx?PageId=1638

http://www.loresoft.com/Applications...d/default.aspx

and a bunch of others...

Some are free; some are not. One of them should do the job this thread requests.

People : *always* use Google or MSN Search before posting here.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"William Buchanan" <william.buchan an@naespam_free net.co.uk> wrote in message
news:e%******** ********@TK2MSF TNGP09.phx.gbl. ..
I don't have any experience of using this in .NET (that's my disclaimer to say that the following
might be complete nonsense), but I have used Word automation in the past, and the problem I had
with this kind of thing is that it *WILL NOT* work in a multi-threaded environment (such as ASP.NET
pages). The reason I highlight this fact is because it is actually documented by MS that it is not
designed to work in this way, and so should not be used in this way. I discovered this after a
couple of weeks of trial and error.

It might be different for the spell checker and for .NET so don't just take my word for it, but it
might be worth looking at this before spending too much time on it.

Will
"CMM" <cm*@nospam.com > wrote in message news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
> Do you mean free? I think the ComponentOne tools that MS put in the VB 2003 Resource came with a
> free SpellChecker component. Not sure if that's still available... it has been a while since the
> resource kit came out.
>
> You can also enlist Word to do spellchecking for you.... check this out.... it seems a bit kludgy
> at first, but it works quite well (for WinForms anyway):
>
> Option Strict Off
>
> Public Class MSWordSpellChec ker
> Implements IDisposable
>
> 'Adapted from old VB6 code
>
> Private m_oWord As Object
> Private m_oWordDoc As Object
> Private m_bInit As Boolean
>
> Public Sub Init()
>
> m_oWord = CreateObject("W ord.Application ")
> m_oWordDoc = m_oWord.Documen ts.Add
> m_oWord.Visible = False
> m_oWord.WindowS tate = 2 'WdWindowState. wdWindowStateMi nimize
> m_bInit = True
>
> End Sub
>
> Public Sub SpellCheck(ByRe f sText As String)
>
> Dim iLen As Integer
>
> If Not m_bInit Then Init()
>
> m_oWord.Selecti on.WholeStory()
> m_oWord.Selecti on.Text = sText
> m_oWord.Selecti on.LanguageID = 1033 'WdLanguageID.w dEnglishUS
>
> m_oWordDoc.Chec kSpelling()
>
> m_oWord.Selecti on.WholeStory()
> sText = m_oWord.Selecti on.Text
>
> ' strip off CR/LF on end of string
> iLen = Len(sText)
> While (iLen > 0 And ((Right(sText, 1) = vbCr) Or (Right(sText, 1) = vbLf)))
> iLen -= 1
> sText = Left(sText, iLen)
> End While
>
> m_oWord.Visible = False
>
> End Sub
>
> Public Sub SpellCheckClipb oard()
>
> If Not m_bInit Then Init()
>
> m_oWord.Selecti on.WholeStory()
> m_oWord.Selecti on.Paste()
> m_oWord.Selecti on.LanguageID = 1033 'WdLanguageID.w dEnglishUS
>
> m_oWordDoc.Chec kSpelling()
>
> System.Windows. Forms.Clipboard .SetDataObject( New System.Windows. Forms.DataObjec t)
>
> m_oWord.Selecti on.WholeStory()
> m_oWord.Selecti on.Copy()
>
> m_oWord.Visible = False
>
> End Sub
>
> Public Sub Dispose() Implements System.IDisposa ble.Dispose
>
> Try
> If Not m_oWordDoc Is Nothing Then
> m_oWordDoc.Clos e(SaveChanges:= 0) 'WdSaveOptions. wdDoNotSaveChan ges
> m_oWordDoc = Nothing
> End If
> If Not m_oWord Is Nothing Then
> m_oWord.Quit()
> m_oWord = Nothing
> End If
> Catch
> 'do nothing
> End Try
>
> End Sub
>
> Protected Overrides Sub Finalize()
>
> Dispose()
> MyBase.Finalize ()
>
> End Sub
>
> End Class
>
>
> --
> -C. Moya
> www.cmoya.com
> "Joe" <Jo*@discussion s.microsoft.com > wrote in message
> news:5D******** *************** ***********@mic rosoft.com...
>> Hello All:
>>
>> Does anyone know of a spell checker that works with .NET?
>>
>> Any options will be welcome.
>>
>> TIA,
>> --
>> Joe
>
>


Mar 21 '06 #7
Joe
re:
No, but I have used a couple... ;-)
My typing is so bad sometimes, I need a usage-checker!

Thanks for the tips; these help. This is for a client. They'll pay for a
product that works well.

My best to you.
--
Joe
"Juan T. Llibre" wrote:
re:
Never fear; I try to always Google before you hear from me.


It's good to know that, Joe.

re:
So, have you sued any of the ones that you sited?


No, but I have used a couple... ;-)

http://sourceforge.net/projects/netspell/ looks pretty good.

SharpSpell is good...but expensive ($199) : http://www.tachyon-labs.com/sharpspell/

r.a.d.Spell is good and costs the same as SharpSpell:
http://www.telerik.com/Default.aspx?PageId=1638


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Joe" <Jo*@discussion s.microsoft.com > wrote in message
news:0A******** *************** ***********@mic rosoft.com...
Juan,

I *did* Google it and got the same responses that you did.

The point of the post was to ask seasoned professionals (and not search
engines) for suggestions. Based on my experience, many people here have used
these types of products and I wanted to avoid having to spend hours milling
through garbage to find one that really works well.

Never fear; I try to always Google before you hear from me.

So, have you sued any of the ones that you sited?

--
Joe
"Juan T. Llibre" wrote:
Silly me.

I went to google and queried :

http://www.google.com/search?hl=en&q...ell+checker%22

In 3 seconds, I got back :

http://www.keyoti.com/products/rapidspell/dotNet/

http://sourceforge.net/projects/netspell/

http://www.freedownloadscenter.com/P...l_Checker.html

http://dotnet.org.za/armand/archive/...1/14/6905.aspx

http://www.devhood.com/Tools/tool_de...px?tool_id=453

http://www.tachyon-labs.com/sharpspell/

http://www.telerik.com/Default.aspx?PageId=1638

http://www.loresoft.com/Applications...d/default.aspx

and a bunch of others...

Some are free; some are not. One of them should do the job this thread requests.

People : *always* use Google or MSN Search before posting here.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"William Buchanan" <william.buchan an@naespam_free net.co.uk> wrote in message
news:e%******** ********@TK2MSF TNGP09.phx.gbl. ..
>I don't have any experience of using this in .NET (that's my disclaimer to say that the
>following
>might be complete nonsense), but I have used Word automation in the past, and the problem I had
>with this kind of thing is that it *WILL NOT* work in a multi-threaded environment (such as
>ASP.NET
>pages). The reason I highlight this fact is because it is actually documented by MS that it is
>not
>designed to work in this way, and so should not be used in this way. I discovered this after a
>couple of weeks of trial and error.
>
> It might be different for the spell checker and for .NET so don't just take my word for it, but
> it
> might be worth looking at this before spending too much time on it.
>
> Will
>
>
> "CMM" <cm*@nospam.com > wrote in message news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
>> Do you mean free? I think the ComponentOne tools that MS put in the VB 2003 Resource came with
>> a
>> free SpellChecker component. Not sure if that's still available... it has been a while since
>> the
>> resource kit came out.
>>
>> You can also enlist Word to do spellchecking for you.... check this out.... it seems a bit
>> kludgy
>> at first, but it works quite well (for WinForms anyway):
>>
>> Option Strict Off
>>
>> Public Class MSWordSpellChec ker
>> Implements IDisposable
>>
>> 'Adapted from old VB6 code
>>
>> Private m_oWord As Object
>> Private m_oWordDoc As Object
>> Private m_bInit As Boolean
>>
>> Public Sub Init()
>>
>> m_oWord = CreateObject("W ord.Application ")
>> m_oWordDoc = m_oWord.Documen ts.Add
>> m_oWord.Visible = False
>> m_oWord.WindowS tate = 2 'WdWindowState. wdWindowStateMi nimize
>> m_bInit = True
>>
>> End Sub
>>
>> Public Sub SpellCheck(ByRe f sText As String)
>>
>> Dim iLen As Integer
>>
>> If Not m_bInit Then Init()
>>
>> m_oWord.Selecti on.WholeStory()
>> m_oWord.Selecti on.Text = sText
>> m_oWord.Selecti on.LanguageID = 1033 'WdLanguageID.w dEnglishUS
>>
>> m_oWordDoc.Chec kSpelling()
>>
>> m_oWord.Selecti on.WholeStory()
>> sText = m_oWord.Selecti on.Text
>>
>> ' strip off CR/LF on end of string
>> iLen = Len(sText)
>> While (iLen > 0 And ((Right(sText, 1) = vbCr) Or (Right(sText, 1) = vbLf)))
>> iLen -= 1
>> sText = Left(sText, iLen)
>> End While
>>
>> m_oWord.Visible = False
>>
>> End Sub
>>
>> Public Sub SpellCheckClipb oard()
>>
>> If Not m_bInit Then Init()
>>
>> m_oWord.Selecti on.WholeStory()
>> m_oWord.Selecti on.Paste()
>> m_oWord.Selecti on.LanguageID = 1033 'WdLanguageID.w dEnglishUS
>>
>> m_oWordDoc.Chec kSpelling()
>>
>> System.Windows. Forms.Clipboard .SetDataObject( New System.Windows. Forms.DataObjec t)
>>
>> m_oWord.Selecti on.WholeStory()
>> m_oWord.Selecti on.Copy()
>>
>> m_oWord.Visible = False
>>
>> End Sub
>>
>> Public Sub Dispose() Implements System.IDisposa ble.Dispose
>>
>> Try
>> If Not m_oWordDoc Is Nothing Then
>> m_oWordDoc.Clos e(SaveChanges:= 0) 'WdSaveOptions. wdDoNotSaveChan ges
>> m_oWordDoc = Nothing
>> End If
>> If Not m_oWord Is Nothing Then
>> m_oWord.Quit()
>> m_oWord = Nothing
>> End If
>> Catch
>> 'do nothing
>> End Try
>>
>> End Sub
>>
>> Protected Overrides Sub Finalize()
>>
>> Dispose()
>> MyBase.Finalize ()
>>
>> End Sub
>>
>> End Class
>>
>>
>> --
>> -C. Moya
>> www.cmoya.com
>> "Joe" <Jo*@discussion s.microsoft.com > wrote in message
>> news:5D******** *************** ***********@mic rosoft.com...
>>> Hello All:
>>>
>>> Does anyone know of a spell checker that works with .NET?
>>>
>>> Any options will be welcome.
>>>
>>> TIA,
>>> --
>>> Joe
>>
>>
>
>


Mar 21 '06 #8
CMM
You mean *cited* ...
not "sited" ;-)

--
-C. Moya
www.cmoya.com
"Joe" <Jo*@discussion s.microsoft.com > wrote in message
news:4F******** *************** ***********@mic rosoft.com...
Juan,

Obviously I needed a spell-checker!

Let that last line read read, "Have you *used* any of the ones that you
sited?"

Thanks,
--
Joe
"Joe" wrote:
Juan,

I *did* Google it and got the same responses that you did.

The point of the post was to ask seasoned professionals (and not search
engines) for suggestions. Based on my experience, many people here have
used
these types of products and I wanted to avoid having to spend hours
milling
through garbage to find one that really works well.

Never fear; I try to always Google before you hear from me.

So, have you sued any of the ones that you sited?

--
Joe
"Juan T. Llibre" wrote:
> Silly me.
>
> I went to google and queried :
>
> http://www.google.com/search?hl=en&q...ell+checker%22
>
> In 3 seconds, I got back :
>
> http://www.keyoti.com/products/rapidspell/dotNet/
>
> http://sourceforge.net/projects/netspell/
>
> http://www.freedownloadscenter.com/P...l_Checker.html
>
> http://dotnet.org.za/armand/archive/...1/14/6905.aspx
>
> http://www.devhood.com/Tools/tool_de...px?tool_id=453
>
> http://www.tachyon-labs.com/sharpspell/
>
> http://www.telerik.com/Default.aspx?PageId=1638
>
> http://www.loresoft.com/Applications...d/default.aspx
>
> and a bunch of others...
>
> Some are free; some are not. One of them should do the job this thread
> requests.
>
> People : *always* use Google or MSN Search before posting here.
>
>
>
>
> Juan T. Llibre, asp.net MVP
> aspnetfaq.com : http://www.aspnetfaq.com/
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en español : http://asp.net.do/foros/
> =============== =============== =====
> "William Buchanan" <william.buchan an@naespam_free net.co.uk> wrote in
> message
> news:e%******** ********@TK2MSF TNGP09.phx.gbl. ..
> >I don't have any experience of using this in .NET (that's my
> >disclaimer to say that the following
> >might be complete nonsense), but I have used Word automation in the
> >past, and the problem I had
> >with this kind of thing is that it *WILL NOT* work in a multi-threaded
> >environment (such as ASP.NET
> >pages). The reason I highlight this fact is because it is actually
> >documented by MS that it is not
> >designed to work in this way, and so should not be used in this way. I
> >discovered this after a
> >couple of weeks of trial and error.
> >
> > It might be different for the spell checker and for .NET so don't
> > just take my word for it, but it
> > might be worth looking at this before spending too much time on it.
> >
> > Will
> >
> >
> > "CMM" <cm*@nospam.com > wrote in message
> > news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
> >> Do you mean free? I think the ComponentOne tools that MS put in the
> >> VB 2003 Resource came with a
> >> free SpellChecker component. Not sure if that's still available...
> >> it has been a while since the
> >> resource kit came out.
> >>
> >> You can also enlist Word to do spellchecking for you.... check this
> >> out.... it seems a bit kludgy
> >> at first, but it works quite well (for WinForms anyway):
> >>
> >> Option Strict Off
> >>
> >> Public Class MSWordSpellChec ker
> >> Implements IDisposable
> >>
> >> 'Adapted from old VB6 code
> >>
> >> Private m_oWord As Object
> >> Private m_oWordDoc As Object
> >> Private m_bInit As Boolean
> >>
> >> Public Sub Init()
> >>
> >> m_oWord = CreateObject("W ord.Application ")
> >> m_oWordDoc = m_oWord.Documen ts.Add
> >> m_oWord.Visible = False
> >> m_oWord.WindowS tate = 2 'WdWindowState. wdWindowStateMi nimize
> >> m_bInit = True
> >>
> >> End Sub
> >>
> >> Public Sub SpellCheck(ByRe f sText As String)
> >>
> >> Dim iLen As Integer
> >>
> >> If Not m_bInit Then Init()
> >>
> >> m_oWord.Selecti on.WholeStory()
> >> m_oWord.Selecti on.Text = sText
> >> m_oWord.Selecti on.LanguageID = 1033 'WdLanguageID.w dEnglishUS
> >>
> >> m_oWordDoc.Chec kSpelling()
> >>
> >> m_oWord.Selecti on.WholeStory()
> >> sText = m_oWord.Selecti on.Text
> >>
> >> ' strip off CR/LF on end of string
> >> iLen = Len(sText)
> >> While (iLen > 0 And ((Right(sText, 1) = vbCr) Or
> >> (Right(sText, 1) = vbLf)))
> >> iLen -= 1
> >> sText = Left(sText, iLen)
> >> End While
> >>
> >> m_oWord.Visible = False
> >>
> >> End Sub
> >>
> >> Public Sub SpellCheckClipb oard()
> >>
> >> If Not m_bInit Then Init()
> >>
> >> m_oWord.Selecti on.WholeStory()
> >> m_oWord.Selecti on.Paste()
> >> m_oWord.Selecti on.LanguageID = 1033 'WdLanguageID.w dEnglishUS
> >>
> >> m_oWordDoc.Chec kSpelling()
> >>
> >> System.Windows. Forms.Clipboard .SetDataObject( New
> >> System.Windows. Forms.DataObjec t)
> >>
> >> m_oWord.Selecti on.WholeStory()
> >> m_oWord.Selecti on.Copy()
> >>
> >> m_oWord.Visible = False
> >>
> >> End Sub
> >>
> >> Public Sub Dispose() Implements System.IDisposa ble.Dispose
> >>
> >> Try
> >> If Not m_oWordDoc Is Nothing Then
> >> m_oWordDoc.Clos e(SaveChanges:= 0)
> >> 'WdSaveOptions. wdDoNotSaveChan ges
> >> m_oWordDoc = Nothing
> >> End If
> >> If Not m_oWord Is Nothing Then
> >> m_oWord.Quit()
> >> m_oWord = Nothing
> >> End If
> >> Catch
> >> 'do nothing
> >> End Try
> >>
> >> End Sub
> >>
> >> Protected Overrides Sub Finalize()
> >>
> >> Dispose()
> >> MyBase.Finalize ()
> >>
> >> End Sub
> >>
> >> End Class
> >>
> >>
> >> --
> >> -C. Moya
> >> www.cmoya.com
> >> "Joe" <Jo*@discussion s.microsoft.com > wrote in message
> >> news:5D******** *************** ***********@mic rosoft.com...
> >>> Hello All:
> >>>
> >>> Does anyone know of a spell checker that works with .NET?
> >>>
> >>> Any options will be welcome.
> >>>
> >>> TIA,
> >>> --
> >>> Joe
> >>
> >>
> >
> >
>
>
>

Mar 21 '06 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
9711
by: Leo P. | last post by:
I am trying to write a spelling checker. Specifically the part that suggests words. From what I've read online, it seems like the preferred way to do this, is to find the double metaphone equivalent of a mispelled word, then to compute the mispelled word's distance from other words which have the same, or a similar metaphone equivalent. ...
84
5865
by: Andy Glew | last post by:
I am in search of any rigourous, scientific, academic or industrial studies comparing naming conventions in C++ or similar languages such as Ada: Specifically, are names formed with underscores more or less readable than names formed with MixedCase StudlyCaps camelCase?
2
2232
by: WM Chung | last post by:
Hi all, I need to include spell check utilities into my dotnet application. Is this a ready-to-use facility in dotnet ? Or do I need to use third party tool ? I use Visual Studio 2002. Thanks in advance. W.M. Chung
7
3500
by: Hank Reed | last post by:
I am trying to use the spell checker on an unbound control in Access 2000. I run the checker in the AfterUpdate event of the control. After the spell checker is done, I get the following message: The Macro or Function set to the BeforeUpdate or ValidationRule Property for this field is preventing MS Access from saving the data in the...
2
3519
by: fouxman | last post by:
There's a relatively new product in source code spell checking area that should help developers keep their code and GUI spell-clean. It's called Source Code Spell Checker by Parasite Software - http://www.parasitesoft.com/scsc.html
4
6246
by: sweetguy1only | last post by:
Hi all, I am a MS Access developer using VB 6 (yes, I know it is a bit old). The problem I am having is, I have a software that allows my customers to put in the information of their clients. A client of one of my customer has a last name of "Cotten". Whenever they put in the last name as "Cotten", the spell checker automatically...
6
10823
by: Neil | last post by:
Is there way to have control over the MS-Access spell checking (besides just launching it)? We want to tell it to check all records, but skip certain fields (or, alternatively, ONLY check certain fields). Is that possible? Alternatively, if that's not, we noticed that the spell checker skips fields that are disabled. So one could disable the...
9
6257
by: ARC | last post by:
Hello all, I developed a tool a year or so ago for adding your own spell-checker to an access application. This is mainly for those using the runtime, as you can't distribute the spell-checker ability. After many complaints from my runtime customers, I decided to develop my own, which was a good challenge. I just wanted to give something...
3
4014
by: Mike | last post by:
I have an app running at a client where, when the spell checker is supposed to run, it reports "Can't start spell checker because it is not installed". I have never had this before - it works fine at other user sites and on my development setup. The app runs on MS Access 2002 runtime. Is there maybe an incompatibility with Office 2007?
0
7868
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8149
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8304
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8175
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6553
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5674
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5364
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3805
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
1138
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.