• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 153
  • Last Modified:

Can i Include Spell Check

I have an application and i would like to implement spell check to a Textbox
Can any one help me to do it.....

Thanking u in advance
0
prem_kumar_25
Asked:
prem_kumar_25
1 Solution
 
MarineCommented:
You can use WORD application object by referencing its library.
0
 
mcriderCommented:
This microsoft URL whows you how to spellcheck...

http://support.microsoft.com/support/kb/articles/Q147/8/18.asp 

in the example microsoft gave, there's something missing...
After the line:

        MsgBox "Spell Check is complete"

Add the following:

        oWDBasic.FileClose 2
        Set oWDBasic = Nothing

That will close word.


Cheers!


0
 
prem_kumar_25Author Commented:
Dear Marine

    When Itried this i cant Key any thing on to the doc....
0
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!

 
jkunalCommented:
Check this out its for asp but i think you can implement the same in vb

http://support.microsoft.com/support/kb/articles/Q214/5/45.asp

;->
0
 
prem_kumar_25Author Commented:
Dear Mcrider

      Eventhough the site gave me an answer and after adding ur comment even . the word application is not closing by itself only the document is getting closed i would like to close the application even .. ur answer will be appritiated  my mail id is premkumar@dei.co.uk

Thanking u

prem
0
 
mcriderCommented:
Are you doing the "Set oWDBasic = Nothing" in the same subroutine that you are defining "Dim oWDBasic As Object" ???

If not, you need to be... Otherwise, define the oWDBasic object in a module like this:

   Public oWDBasic As Object

When you set the object to nothing, the instance of Word will close...


Cheers!®©
0
 
mcriderCommented:
By the way, thanks for the points!

Cheers!®©
0
 
MACHUCA1Commented:
You can add this code after the fileclose command in order to close the Word application:

oWDBasic.appclose

Good luck!
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now