Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word detection
Message
De
11/12/2003 12:12:47
 
 
À
10/12/2003 19:41:00
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00857928
Message ID:
00858205
Vues:
17
Hello Efrain.

Is there a way to know when a document is opened. I open many document but so I can't just close the application (Word Application).
IF TYPE( 'oWord.Name' ) = 'C'
  IF oWord.Documents.Count > 0
    *** a document is open
  ELSE
   oWord.Quit()
  ENDIF
ENDIF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform