Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question about Word Automation
Message
De
01/11/2001 05:49:09
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00574981
Message ID:
00576039
Vues:
36
Using wDoc=getobject(nameoffile)
followed by wApp=wDoc.application
and wApp.visible=.t.

solved the problem on this machine. (I didn't have to use the checking loop in this instance.)
So in this case (the machine was running office and windows XP) the createobject function returns incorrectly, and the getobject function works.

It appears to have had the added benefit of working wether word is already loaded or not.

Thanks for the help

Mike
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform