473,396 Members | 2,052 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

.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 2086
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 MSWordSpellChecker
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("Word.Application")
m_oWordDoc = m_oWord.Documents.Add
m_oWord.Visible = False
m_oWord.WindowState = 2 'WdWindowState.wdWindowStateMinimize
m_bInit = True

End Sub

Public Sub SpellCheck(ByRef sText As String)

Dim iLen As Integer

If Not m_bInit Then Init()

m_oWord.Selection.WholeStory()
m_oWord.Selection.Text = sText
m_oWord.Selection.LanguageID = 1033 'WdLanguageID.wdEnglishUS

m_oWordDoc.CheckSpelling()

m_oWord.Selection.WholeStory()
sText = m_oWord.Selection.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 SpellCheckClipboard()

If Not m_bInit Then Init()

m_oWord.Selection.WholeStory()
m_oWord.Selection.Paste()
m_oWord.Selection.LanguageID = 1033 'WdLanguageID.wdEnglishUS

m_oWordDoc.CheckSpelling()

System.Windows.Forms.Clipboard.SetDataObject(New
System.Windows.Forms.DataObject)

m_oWord.Selection.WholeStory()
m_oWord.Selection.Copy()

m_oWord.Visible = False

End Sub

Public Sub Dispose() Implements System.IDisposable.Dispose

Try
If Not m_oWordDoc Is Nothing Then
m_oWordDoc.Close(SaveChanges:=0)
'WdSaveOptions.wdDoNotSaveChanges
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*@discussions.microsoft.com> wrote in message
news:5D**********************************@microsof t.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****************@TK2MSFTNGP09.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 MSWordSpellChecker
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("Word.Application")
m_oWordDoc = m_oWord.Documents.Add
m_oWord.Visible = False
m_oWord.WindowState = 2 'WdWindowState.wdWindowStateMinimize
m_bInit = True

End Sub

Public Sub SpellCheck(ByRef sText As String)

Dim iLen As Integer

If Not m_bInit Then Init()

m_oWord.Selection.WholeStory()
m_oWord.Selection.Text = sText
m_oWord.Selection.LanguageID = 1033 'WdLanguageID.wdEnglishUS

m_oWordDoc.CheckSpelling()

m_oWord.Selection.WholeStory()
sText = m_oWord.Selection.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 SpellCheckClipboard()

If Not m_bInit Then Init()

m_oWord.Selection.WholeStory()
m_oWord.Selection.Paste()
m_oWord.Selection.LanguageID = 1033 'WdLanguageID.wdEnglishUS

m_oWordDoc.CheckSpelling()

System.Windows.Forms.Clipboard.SetDataObject(New
System.Windows.Forms.DataObject)

m_oWord.Selection.WholeStory()
m_oWord.Selection.Copy()

m_oWord.Visible = False

End Sub

Public Sub Dispose() Implements System.IDisposable.Dispose

Try
If Not m_oWordDoc Is Nothing Then
m_oWordDoc.Close(SaveChanges:=0)
'WdSaveOptions.wdDoNotSaveChanges
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*@discussions.microsoft.com> wrote in message
news:5D**********************************@microsof t.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.buchanan@naespam_freenet.co.uk> wrote in message
news:e%****************@TK2MSFTNGP09.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****************@TK2MSFTNGP09.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 MSWordSpellChecker
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("Word.Application")
m_oWordDoc = m_oWord.Documents.Add
m_oWord.Visible = False
m_oWord.WindowState = 2 'WdWindowState.wdWindowStateMinimize
m_bInit = True

End Sub

Public Sub SpellCheck(ByRef sText As String)

Dim iLen As Integer

If Not m_bInit Then Init()

m_oWord.Selection.WholeStory()
m_oWord.Selection.Text = sText
m_oWord.Selection.LanguageID = 1033 'WdLanguageID.wdEnglishUS

m_oWordDoc.CheckSpelling()

m_oWord.Selection.WholeStory()
sText = m_oWord.Selection.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 SpellCheckClipboard()

If Not m_bInit Then Init()

m_oWord.Selection.WholeStory()
m_oWord.Selection.Paste()
m_oWord.Selection.LanguageID = 1033 'WdLanguageID.wdEnglishUS

m_oWordDoc.CheckSpelling()

System.Windows.Forms.Clipboard.SetDataObject(New System.Windows.Forms.DataObject)

m_oWord.Selection.WholeStory()
m_oWord.Selection.Copy()

m_oWord.Visible = False

End Sub

Public Sub Dispose() Implements System.IDisposable.Dispose

Try
If Not m_oWordDoc Is Nothing Then
m_oWordDoc.Close(SaveChanges:=0) 'WdSaveOptions.wdDoNotSaveChanges
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*@discussions.microsoft.com> wrote in message
news:5D**********************************@microsof t.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.buchanan@naespam_freenet.co.uk> wrote in message
news:e%****************@TK2MSFTNGP09.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****************@TK2MSFTNGP09.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 MSWordSpellChecker
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("Word.Application")
m_oWordDoc = m_oWord.Documents.Add
m_oWord.Visible = False
m_oWord.WindowState = 2 'WdWindowState.wdWindowStateMinimize
m_bInit = True

End Sub

Public Sub SpellCheck(ByRef sText As String)

Dim iLen As Integer

If Not m_bInit Then Init()

m_oWord.Selection.WholeStory()
m_oWord.Selection.Text = sText
m_oWord.Selection.LanguageID = 1033 'WdLanguageID.wdEnglishUS

m_oWordDoc.CheckSpelling()

m_oWord.Selection.WholeStory()
sText = m_oWord.Selection.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 SpellCheckClipboard()

If Not m_bInit Then Init()

m_oWord.Selection.WholeStory()
m_oWord.Selection.Paste()
m_oWord.Selection.LanguageID = 1033 'WdLanguageID.wdEnglishUS

m_oWordDoc.CheckSpelling()

System.Windows.Forms.Clipboard.SetDataObject(New System.Windows.Forms.DataObject)

m_oWord.Selection.WholeStory()
m_oWord.Selection.Copy()

m_oWord.Visible = False

End Sub

Public Sub Dispose() Implements System.IDisposable.Dispose

Try
If Not m_oWordDoc Is Nothing Then
m_oWordDoc.Close(SaveChanges:=0) 'WdSaveOptions.wdDoNotSaveChanges
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*@discussions.microsoft.com> wrote in message
news:5D**********************************@microsof t.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*@discussions.microsoft.com> wrote in message
news:0A**********************************@microsof t.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.buchanan@naespam_freenet.co.uk> wrote in message
news:e%****************@TK2MSFTNGP09.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****************@TK2MSFTNGP09.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 MSWordSpellChecker
>> 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("Word.Application")
>> m_oWordDoc = m_oWord.Documents.Add
>> m_oWord.Visible = False
>> m_oWord.WindowState = 2 'WdWindowState.wdWindowStateMinimize
>> m_bInit = True
>>
>> End Sub
>>
>> Public Sub SpellCheck(ByRef sText As String)
>>
>> Dim iLen As Integer
>>
>> If Not m_bInit Then Init()
>>
>> m_oWord.Selection.WholeStory()
>> m_oWord.Selection.Text = sText
>> m_oWord.Selection.LanguageID = 1033 'WdLanguageID.wdEnglishUS
>>
>> m_oWordDoc.CheckSpelling()
>>
>> m_oWord.Selection.WholeStory()
>> sText = m_oWord.Selection.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 SpellCheckClipboard()
>>
>> If Not m_bInit Then Init()
>>
>> m_oWord.Selection.WholeStory()
>> m_oWord.Selection.Paste()
>> m_oWord.Selection.LanguageID = 1033 'WdLanguageID.wdEnglishUS
>>
>> m_oWordDoc.CheckSpelling()
>>
>> System.Windows.Forms.Clipboard.SetDataObject(New System.Windows.Forms.DataObject)
>>
>> m_oWord.Selection.WholeStory()
>> m_oWord.Selection.Copy()
>>
>> m_oWord.Visible = False
>>
>> End Sub
>>
>> Public Sub Dispose() Implements System.IDisposable.Dispose
>>
>> Try
>> If Not m_oWordDoc Is Nothing Then
>> m_oWordDoc.Close(SaveChanges:=0) 'WdSaveOptions.wdDoNotSaveChanges
>> 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*@discussions.microsoft.com> wrote in message
>> news:5D**********************************@microsof t.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.buchanan@naespam_freenet.co.uk> wrote in message
news:e%****************@TK2MSFTNGP09.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****************@TK2MSFTNGP09.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 MSWordSpellChecker
> 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("Word.Application")
> m_oWordDoc = m_oWord.Documents.Add
> m_oWord.Visible = False
> m_oWord.WindowState = 2 'WdWindowState.wdWindowStateMinimize
> m_bInit = True
>
> End Sub
>
> Public Sub SpellCheck(ByRef sText As String)
>
> Dim iLen As Integer
>
> If Not m_bInit Then Init()
>
> m_oWord.Selection.WholeStory()
> m_oWord.Selection.Text = sText
> m_oWord.Selection.LanguageID = 1033 'WdLanguageID.wdEnglishUS
>
> m_oWordDoc.CheckSpelling()
>
> m_oWord.Selection.WholeStory()
> sText = m_oWord.Selection.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 SpellCheckClipboard()
>
> If Not m_bInit Then Init()
>
> m_oWord.Selection.WholeStory()
> m_oWord.Selection.Paste()
> m_oWord.Selection.LanguageID = 1033 'WdLanguageID.wdEnglishUS
>
> m_oWordDoc.CheckSpelling()
>
> System.Windows.Forms.Clipboard.SetDataObject(New System.Windows.Forms.DataObject)
>
> m_oWord.Selection.WholeStory()
> m_oWord.Selection.Copy()
>
> m_oWord.Visible = False
>
> End Sub
>
> Public Sub Dispose() Implements System.IDisposable.Dispose
>
> Try
> If Not m_oWordDoc Is Nothing Then
> m_oWordDoc.Close(SaveChanges:=0) 'WdSaveOptions.wdDoNotSaveChanges
> 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*@discussions.microsoft.com> wrote in message
> news:5D**********************************@microsof t.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*@discussions.microsoft.com> wrote in message
news:0A**********************************@microsof t.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.buchanan@naespam_freenet.co.uk> wrote in message
news:e%****************@TK2MSFTNGP09.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****************@TK2MSFTNGP09.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 MSWordSpellChecker
>> 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("Word.Application")
>> m_oWordDoc = m_oWord.Documents.Add
>> m_oWord.Visible = False
>> m_oWord.WindowState = 2 'WdWindowState.wdWindowStateMinimize
>> m_bInit = True
>>
>> End Sub
>>
>> Public Sub SpellCheck(ByRef sText As String)
>>
>> Dim iLen As Integer
>>
>> If Not m_bInit Then Init()
>>
>> m_oWord.Selection.WholeStory()
>> m_oWord.Selection.Text = sText
>> m_oWord.Selection.LanguageID = 1033 'WdLanguageID.wdEnglishUS
>>
>> m_oWordDoc.CheckSpelling()
>>
>> m_oWord.Selection.WholeStory()
>> sText = m_oWord.Selection.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 SpellCheckClipboard()
>>
>> If Not m_bInit Then Init()
>>
>> m_oWord.Selection.WholeStory()
>> m_oWord.Selection.Paste()
>> m_oWord.Selection.LanguageID = 1033 'WdLanguageID.wdEnglishUS
>>
>> m_oWordDoc.CheckSpelling()
>>
>> System.Windows.Forms.Clipboard.SetDataObject(New System.Windows.Forms.DataObject)
>>
>> m_oWord.Selection.WholeStory()
>> m_oWord.Selection.Copy()
>>
>> m_oWord.Visible = False
>>
>> End Sub
>>
>> Public Sub Dispose() Implements System.IDisposable.Dispose
>>
>> Try
>> If Not m_oWordDoc Is Nothing Then
>> m_oWordDoc.Close(SaveChanges:=0) 'WdSaveOptions.wdDoNotSaveChanges
>> 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*@discussions.microsoft.com> wrote in message
>> news:5D**********************************@microsof t.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*@discussions.microsoft.com> wrote in message
news:4F**********************************@microsof t.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.buchanan@naespam_freenet.co.uk> wrote in
> message
> news:e%****************@TK2MSFTNGP09.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****************@TK2MSFTNGP09.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 MSWordSpellChecker
> >> 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("Word.Application")
> >> m_oWordDoc = m_oWord.Documents.Add
> >> m_oWord.Visible = False
> >> m_oWord.WindowState = 2 'WdWindowState.wdWindowStateMinimize
> >> m_bInit = True
> >>
> >> End Sub
> >>
> >> Public Sub SpellCheck(ByRef sText As String)
> >>
> >> Dim iLen As Integer
> >>
> >> If Not m_bInit Then Init()
> >>
> >> m_oWord.Selection.WholeStory()
> >> m_oWord.Selection.Text = sText
> >> m_oWord.Selection.LanguageID = 1033 'WdLanguageID.wdEnglishUS
> >>
> >> m_oWordDoc.CheckSpelling()
> >>
> >> m_oWord.Selection.WholeStory()
> >> sText = m_oWord.Selection.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 SpellCheckClipboard()
> >>
> >> If Not m_bInit Then Init()
> >>
> >> m_oWord.Selection.WholeStory()
> >> m_oWord.Selection.Paste()
> >> m_oWord.Selection.LanguageID = 1033 'WdLanguageID.wdEnglishUS
> >>
> >> m_oWordDoc.CheckSpelling()
> >>
> >> System.Windows.Forms.Clipboard.SetDataObject(New
> >> System.Windows.Forms.DataObject)
> >>
> >> m_oWord.Selection.WholeStory()
> >> m_oWord.Selection.Copy()
> >>
> >> m_oWord.Visible = False
> >>
> >> End Sub
> >>
> >> Public Sub Dispose() Implements System.IDisposable.Dispose
> >>
> >> Try
> >> If Not m_oWordDoc Is Nothing Then
> >> m_oWordDoc.Close(SaveChanges:=0)
> >> 'WdSaveOptions.wdDoNotSaveChanges
> >> 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*@discussions.microsoft.com> wrote in message
> >> news:5D**********************************@microsof t.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
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...
84
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...
2
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...
7
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:...
2
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 -...
4
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....
6
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...
9
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...
3
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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,...

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.