-
Using Checkspelling With Vb.net And Word
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CHECK.Click
Dim wd As Word.Application = New Word.Application
If wd.CheckSpelling(MyControlArray.wordtemp) Then
MessageBox.Show(" ok")
Else
MessageBox.Show("noT ok")
End If
wd.Quit()
wd = Nothing
End Sub
MyControlArray is a class with wordtemp defined as" public dim wordtemp as string"!
in this program, by clicking a setof buttons , i am framing a word (button name assinged with alphabets), then sequence of clicks frame a word, so exactly a string is passed to the checkspelling method of word.application, but i receive "ok" messaege, even for a misspelled word!
please help me to fix the problem!
Similar Threads
-
By Bill Schmidt in forum .NET
Replies: 1
Last Post: 02-06-2006, 03:13 PM
-
By vega in forum VB Classic
Replies: 0
Last Post: 11-07-2005, 03:52 PM
-
By Jacob Grass in forum .NET
Replies: 71
Last Post: 04-15-2001, 08:02 AM
-
By David Kroll in forum .NET
Replies: 33
Last Post: 02-13-2001, 10:23 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks