locked
Spell check RRS feed

  • Question

  • Hello,

    I'm developing an app for the desktop in vb express 2008 and i want to make an spellchecker.
    ONLY without the ADD-IN from word, just an simple txt file as resource with the dictionary of nl-nl or en-us

    • Moved by Amanda Zhu Tuesday, April 1, 2014 3:10 AM better forum
    Monday, March 31, 2014 10:39 AM

Answers

All replies

  • If you want to add spell checking to your application, try NHunspell (http://nhunspell.sourceforge.net/).  It's open source and supports Open Office dictionaries.  There are several articles on the Code Project site that can help you get started (http://www.codeproject.com/search.aspx?q=NHunspell&sbo=kw&x=0&y=0).

    Eric

     

    Monday, March 31, 2014 7:10 PM
  • Well if you know how to convert C# to VB.Net using an online C# to VB converter like Telerik or perhaps you have a free Demo C# to VB.Net converter you downloaded from Tangible then you could download this project from Code Project - NetSpell - Spell Checker for .NET written in 2003 in C# if you're a Code Project member or become a member and see if VB Express 2008 can open it.

    If so then you could convert all the code to VB.Net. However C# leaves out the Handles clauses on subs for controls I think. So a Button Click sub would not have a handles clause at the end of the event handler line or whatever it's called when converted to vb.

     Also Visual Studio 2013 Express editions are free so I'm not sure why you would use VB Express 2008. Even Visual Studio 2010 Express editions are free and still available and work on XP and Vista.

    Although I would guess that VS 2010 may not work with WPF and for WPF there's a spellchecker capability using the SpellCheck Class although that class is supported in .Net 3.0 so I suppose VS 2010 may support it. But maybe VS 2010 express doesn't for all I know.


    Hello. I'm old and retired. I like to program if you could call what I do programming. However I'd like to code for you! If you've got the dime then I've got the time. Call me, landline, @ BR-549.

    Wednesday, April 2, 2014 4:12 AM
  • Hi,

    I use vb 2008 because our school computers don't let us install vb 2013.

    the spellchec class works, only the code doesn't line up with the original.

    Thursday, April 3, 2014 8:27 AM
  • If you want to add spell checking to your application, try NHunspell (http://nhunspell.sourceforge.net/).  It's open source and supports Open Office dictionaries.  There are several articles on the Code Project site that can help you get started (http://www.codeproject.com/search.aspx?q=NHunspell&sbo=kw&x=0&y=0).

    Eric

     

    hi, I would like to thank you for the tip. it works.

    Regards,

    WLP

    Thursday, April 3, 2014 8:30 AM
  • Hello,

    Although I don't currently have VS2008 installed I did you NetSpell without converting it from C# to VB.NET back in VS2008, have upgraded this solution to VS2010 then VS2012 and NetSpell works fine.

    What you need to do is have NetSpell installed then referenced in your project. 


    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

    Thursday, April 3, 2014 12:06 PM
  • Hi,

    I use vb 2008 because our school computers don't let us install vb 2013.

    the spellchec class works, only the code doesn't line up with the original.

    Hello,

    Can you please be more specific with "only the code doesn't line up with the original", thank you.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

    Thursday, April 3, 2014 12:07 PM
  • If you want to add spell checking to your application, try NHunspell (http://nhunspell.sourceforge.net/).  It's open source and supports Open Office dictionaries.  There are several articles on the Code Project site that can help you get started (http://www.codeproject.com/search.aspx?q=NHunspell&sbo=kw&x=0&y=0).

    Eric

     

    I have the NHunspell homepage moved to http://www.crawler-Lib.net/nhunspell, please update your bookmarks. 
    Thursday, September 4, 2014 2:36 PM