Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Execute microsoft word from a visual foxpro program
Message
 
 
À
25/07/2007 09:18:45
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:
01243465
Vues:
47
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?
>
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform