Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I know that Excel is opened?
Message
De
14/02/2001 09:51:49
Jacci Adams
Lindsay-Adams Consulting
Louisville, Ohio, États-Unis
 
 
À
14/02/2001 09:15:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00475671
Message ID:
00475689
Vues:
34
Hi,

>1. How can i know the EXCEL application is opened.

I'm assuming you've created an Excel object somewhere. To check if that object still exists:
IF VARTYPE(oExcel) = "O"
   * excel object exists
ELSE
   * excel object is gone
ENDIF
>
>2. (and more) how can i know a XLS file is opened.

I'm not quite sure what you are trying to accomplish here to give you the appropriate advice. One way you might want to do it is try opening the file and capturing the error that is produced if it is already opened in Excel.

To help you better, we need more information on what you are trying to accomplish.

Jacci
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform