Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Spelling checking really slow
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00956184
Message ID:
00957296
Vues:
15
Nadya,

> Also can you post a test code, so I can try it on my machine?
* Create a Word document object
loWord=CreateObject('Word.Application')
loDocument=loWord.Documents.Add
loWord.Visible=.f.


* Assign the text to the document and check spelling
loDocument.Content.Text='The long bridge faiiled in the middle. Then, Michel Fournier '+;
 'came in and sayd, who are you? Rorlf Bingo! They were winning the billa game.'

loDocument.Activate
activate window "debug output"

lnCount=loDocument.SpellingErrors.Count
IF lnCount>0
   loErrors=loDocument.SpellingErrors
   FOR EACH loError IN loErrors
       debugout seconds(), loError.Text
   ENDFOR
ENDIF

* Close the document and exit Word...
loDocument.Close(0)

loWord.Quit
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform