Feb 14, 2006 #1 Fendal Technical User Joined Sep 13, 2005 Messages 178 Location GB Hi All, Is it possible to use the MS Word Spellchecker in my richtextbox on my VB program, or will I need to write a dictionary of words. ? Thanks.
Hi All, Is it possible to use the MS Word Spellchecker in my richtextbox on my VB program, or will I need to write a dictionary of words. ? Thanks.
Feb 14, 2006 1 #2 waytech2003 Programmer Joined Jul 14, 2003 Messages 316 Location US Here is what I used in a regular textbox. You could test to see if it will work in richtext You will need to add a referance to MS wordx.x object library Dim X As Object Set X = CreateObject("Word.Application") X.Visible = False X.WindowState = 2 X.Documents.Add X.Selection.Text = text1.text X.ActiveDocument.CheckSpelling text1.text = X.Selection.Text Upvote 0 Downvote
Here is what I used in a regular textbox. You could test to see if it will work in richtext You will need to add a referance to MS wordx.x object library Dim X As Object Set X = CreateObject("Word.Application") X.Visible = False X.WindowState = 2 X.Documents.Add X.Selection.Text = text1.text X.ActiveDocument.CheckSpelling text1.text = X.Selection.Text
Feb 14, 2006 1 #3 Swi Programmer Joined Feb 4, 2002 Messages 1,981 Location US Here are several other examples as well as a link to a example from Microsoft. thread222-88875 Swi Upvote 0 Downvote
Feb 14, 2006 Thread starter #4 Fendal Technical User Joined Sep 13, 2005 Messages 178 Location GB Great, Thanks. Upvote 0 Downvote