Solved

VB & AI

Posted on 2002-05-08
10
197 Views
Last Modified: 2012-05-04
Looking for a code in VB that works like a grammer checker.
0
Comment
Question by:raidt
  • 5
  • 3
  • 2
10 Comments
 
LVL 3

Expert Comment

by:n_narayanan
ID: 6997998
0
 
LVL 3

Expert Comment

by:n_narayanan
ID: 6998002
0
 
LVL 3

Expert Comment

by:n_narayanan
ID: 6998003
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 3

Expert Comment

by:n_narayanan
ID: 6998010
I am appending another code which uses Word

Public Function SpellCheck(ByVal IncorrectText$) As String

Dim Word As Object, retText$

On Error Resume Next

Set Word = CreateObject("Word.Basic")

Word.AppShow
Word.FileNew
Word.Insert IncorrectText
Word.ToolsSpelling
Word.EditSelectAll

retText = Word.Selection$()
SpellCheck = Left$(retText, Len(retText) - 1)
Word.FileClose 2

Show

Set Word = Nothing

End Function
Private Sub cmdSpellCheck_Click()
Text1 = SpellCheck(Text1)
End Sub

0
 
LVL 3

Expert Comment

by:n_narayanan
ID: 6998011
0
 

Author Comment

by:raidt
ID: 6998421
Well What i am looking for is an algorithem to check for grammer i dont want to use words component.
0
 
LVL 1

Expert Comment

by:raid999
ID: 6998434
I have done something like that would you be interested in the code.

__________________________
is Raid your name?
0
 

Author Comment

by:raidt
ID: 6998589
Yes sure can i have a look at the code. and yes my name is Raid.
0
 
LVL 1

Accepted Solution

by:
raid999 earned 500 total points
ID: 7001395
Please go to my ftp server ftp://80.195.36.75./raid
and in that folder there is another one called BSC and inside that folder you can find the source code and the exe file called grammer.

_____________________
Cheers
0
 

Author Comment

by:raidt
ID: 7003593
That was perfect. thanx man. bye the way nice name :)
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

815 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

8 Experts available now in Live!

Get 1:1 Help Now