Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Spell checker
Message
 
À
10/10/2003 14:55:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Divers
Thread ID:
00837594
Message ID:
00838168
Vues:
40
This message has been marked as the solution to the initial question of the thread.
What about MS Word?


Local lcString,oWord,loDocument,loSelection,loSelectionFinal
oWord = Createobject("word.application")
With oWord
.Documents.Add()
.Documents(1).Content = this.Value
.Documents(1).CheckSpelling()
.Selection.WholeStory()
If .Selection.Text # this.value
This.Value = .Selection.text
Thisform.Refresh()
Else
Messagebox("No spelling mistakes found","Congradulations")
Endif

*.Documents(1).Close(.F.)
*.Quit()

Endwith
Release oWord
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform