Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateObject
Message
De
28/03/2002 07:31:19
 
 
À
28/03/2002 06:21:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00638312
Message ID:
00638320
Vues:
26
Hi Nelly

I am creating a word object as shown below but if its already open i get an error, how could I check to see if its already open first and if it is show it?

Try this instead:
lcDoc = "D:\MyDocs\MyDocument.doc"

oWord = GETOBJECT( lcDoc )
IF VARTYPE( oWord ) = 'O'
  oWord.Application.Visible = .T.
ENDIF
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform