Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Execute microsoft word from a visual foxpro program
Message
De
25/07/2007 15:04:12
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01241684
Message ID:
01243577
Vues:
41
Thanks it worked.

Yes I did see Tamar's response to you. I am documenting it so that user know about it.

One last dumb question. I assume that object is released when the close the word file. If not do I have to release it and how?

>Do you mean you want to bring the Word to Foreground? Then this technique (by Vladimir Maximov) works:
>
>#DEFINE wdWindowStateMinimize 2
>  #DEFINE wdWindowStateMaximize 1
>
>  loWord.WindowState = wdWindowStateMaximize && When you set WindowState property of the Word object, it brings it to foreground
>
>But please see Tamar's response to me. Even if you open Word document in read-only mode you still can Save As a different document.
>
>>Thanks it works. My last question is how do I switch to the word file?
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform