?
Solved

Can i Include Spell Check

Posted on 2000-03-06
8
Medium Priority
?
147 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 300 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

770 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