Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Spell Checker 1

Status
Not open for further replies.

vinidel

IS-IT--Management
Jan 23, 2004
78
US
I want to write a code in VB.NET, when user clicks on the Spell Check button, it checks for the spelling in the text area of the form.

From Add References I added a COM object

SPELLCHKLib

It has a SpellCheckClass, that exposes me check() method, when I create as object of this class.

Dim objSplChk As New SPELLCHKLib.SpellCheckClass
objSplChk.Check(Me.txtEnlrgDesc.Text)

But how to use it ? Anyone, who can guide me ?

Thanks in advance.

 
Where did you get this COM object from?
Did you find it on your system, or did you buy it from a vendor?

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
chiph, I found this COM object (SPELLCHKLib)on my system.

Thanks PankajBanga for the link. Its working by using Word Object.
 
I guess my point is, is that when you "find" components like this, you need to determine whether you have the right to redistribute them with your app. If this component came with MS-Office, you almost certainly don't.

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 

Well Chiph thanks for the info.
I am working in an environment where all users have same XP images and this COM object is existing on all users machine.

But my question was just how to use this COM object.

Thanks anyway for your time.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top