Solved

Can i Include Spell Check

Posted on 2000-03-06
8
140 Views
Last Modified: 2010-05-02
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
Comment
Question by:prem_kumar_25
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 6

Expert Comment

by:Marine
ID: 2590183
You can use WORD application object by referencing its library.
0
 
LVL 14

Accepted Solution

by:
mcrider earned 100 total points
ID: 2590259
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
 
LVL 1

Author Comment

by:prem_kumar_25
ID: 2590270
Dear Marine

    When Itried this i cant Key any thing on to the doc....
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
LVL 4

Expert Comment

by:jkunal
ID: 2590274
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
 
LVL 1

Author Comment

by:prem_kumar_25
ID: 2590392
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
 
LVL 14

Expert Comment

by:mcrider
ID: 2590561
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
 
LVL 14

Expert Comment

by:mcrider
ID: 2590567
By the way, thanks for the points!

Cheers!®©
0
 

Expert Comment

by:MACHUCA1
ID: 2592955
You can add this code after the fileclose command in order to close the Word application:

oWDBasic.appclose

Good luck!
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

739 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