Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word GetObject() - WHACKED?????
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00538237
Message ID:
00538773
Vues:
11
>John,
>
>>Looks like you found a solution, but here is this if you are interested at all. This is pretty basic.
>
>We all decided we like your solution more than the hyperlink idea...THANKS!!!

Jim,

I thought that you were interested in retrieving an object reference to Word rather than simply starting it with the document loaded.

While ShellExecute does provide this functionality, I'd be more inclined to use the Windows Script Host's Shell object's Run method to do this. First, there's less code to deal with. Second, unlike ShellExecute, it can be used to make the calling program wait until the called program terminates before continuing execution.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform