Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Test to see if excel is present
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00771427
Message ID:
00771455
Vues:
4
>So, then I would not start with oWord = CreateObject("Word.Application")
>but some other command that gets me right into the already open
>word?
TRY
   oWord = GETOBJECT(,"Word.Application")
CATCH TO loExc
   IF loExc.Number = 1426 && or whatever it actually is
      oWord = CREATEOBJECT("Word.Application")
   ELSE
      THROW loExc
   ENDif
ENDTRY
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform