[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Spell check WebBrowser1 to RTB VB.NET)

Posted on 2012-09-10
Medium Priority
Last Modified: 2012-09-19
Hi Experts,

I'm trying to add a spell checker to my wordprocessor app. This is the final part to my project. A bit tricky... well, for me at least.

I have a Winform with a RichTextBox & a WebBrowser and a ToolStrip with Buttons. I want to click ToolStripButton1 and it hides RTB and shows WebBrowser1, whilst selecting all RTB text and copying to clipboard... (please tell me if this is a dumb way to spellcheck)

Private Sub ToolStripButton1_Click(sender As System.Object, e As System.EventArgs) Handles ToolStripButton1.Click
        WebBrowser1.Navigate(New Uri("http://www.jspell.com/public-spell-checker.html"))
       End Sub

Open in new window

WebBrowser1 then shows 'jspell.com' URL ... you then have to paste (manually) into their multiline textbox... click "SPELL CHECK"...
ToolStripButton2 I want to try capturing the corrected spelling from the online textbox and paste it back into RTB (replacing) all text. (Ideally, if this could all be done off one button action, would be better!!!!).
Private Sub ToolStripButton2_Click(sender As System.Object, e As System.EventArgs) Handles ToolStripButton2.Click
        Dim myText As String = Me.WebBrowser1.Document.Body.InnerText
        RichTextBox1.Text = myText
    End Sub

Open in new window

But the result appears as...
Free Online Spell Checker

Spell check English, French, Spanish, Italian or German. A medical spell checker is also included. Simply PASTE your text below, CLICK 'Spell Check' and COPY the corrected text back into your application...

I thought about possibly trying to detect 'Open Office' and if installed... open that spell checker... but I don't know how to do this either :(

can an Expert please help ;)
Question by:RobertoFreemano
  • 4
  • 3
LVL 13

Expert Comment

ID: 38384385
Have you checked this?


Does that work for you?

Author Comment

ID: 38384445

Thanks for your input... Sadly, I'm on Vista :(
NetSpell.MSI is asking me to install .net 1.1 but Vista don't like it.
I'll have to setup an XP Virtal Machine to test this...
I want to future proof this app, so it works on XP,Vista,Win7...

Author Comment

ID: 38384898

I setup my gen-xp vm and installed all the bells 'n' whistles... and I got an error after installing NetSpell... clicked OK... navigated to the demo folder on c:\Program Files\NetSpell\demo\Demo.Web.VBnet... but get a window (popup) with
<%0 Page Lang... etc....

Open in new window

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 13

Expert Comment

ID: 38403868
Sorry for theh delay.

Did you try downloading the source code that's available on the website?
LVL 13

Accepted Solution

LIONKING earned 2000 total points
ID: 38403869
Maybe this can help you out as well...


Author Comment

ID: 38404513
Wow thanks LIONKING... this looks promising... ;)

Author Closing Comment

ID: 38414437
Thanks LIONKING ;)

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question