Solved

Can i Include Spell Check

Posted on 2000-03-06
8
136 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
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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

895 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now